To substring until the first space in an Oracle VARCHAR2 column, you can use the SUBSTR and INSTR functions together. The SUBSTR function extracts a substring from a string, and the INSTR function finds the position of a substring within a string. Here’s an example: SELECT SUBSTR(your_column, 1, INSTR(your_column, ‘ ‘) – 1) AS result…
Tag: query
Cara Melihat Script Object pada Sql Server
::::::::::: YANG MASTER SQL SERVER GA PERLU BACA CATATAN INI:::::::::: Dalam pengembangan sebuah aplikasi basis data, kita membutuhkan untuk mengetahui script sebuah object seperti view, stored procedure atau function, baik untuk mengetahui flow nya seperti apa atau mungkin mau alter.