regex - ORACLE pass through query for SAS -
I am writing a pass through the query in SAS. How can I make this search case insensitive to find a descriptive lesson? thank you in advanced.
Proc. SQL INBOs = 1000; Connect to Oracle as Comp 1 (DBMAX_TEXT = ... PATH = ... = "dba" pw = "mypassword"); Select as "PH3" as the selection * 1 from the connection (selection "T1". "DOC_ID", "T1". "NRTV_TXT", REGEXP_INSTR (NRTV_TXT, "should look for rules") "Status", REGEXP_SUBSTR (NRTV_TXT, | URL form to view terms); "NRTV" "T1" from "Pattern"); From console 1; QUIT;
To change the value of UPPER () In the case of upper case before searching pattern: REGEXP_INSTR (UPPER (NRTV_TXT), 'Show for Rules | Used Form') "Status", REGEXP_SUBSTR (UPPER (NRTV_TXT0 , 'Looking for rules | USED FORMS') "PATTERN"
Comments
Post a Comment