About 1,490,000 results
Open links in new tab
  1. SELECT Statement with substr in WHERE Clause - Stack Overflow

    Mar 9, 2012 · SELECT Statement with substr in WHERE Clause Asked 13 years, 9 months ago Modified 12 years, 6 months ago Viewed 106k times

  2. SUBSTR and INSTR SQL Oracle - Stack Overflow

    I've started using SUBSTR and INSTR in Oracle but I got confused when I came across this. SELECT PHONE, SUBSTR(PHONE, 1, INSTR(PHONE, '-') -1) FROM DIRECTORY; So I …

  3. sql - How to join two tables based on substring values of fields ...

    Feb 21, 2015 · I am having problem with sql. I want to join two tables, employee and class instructor. Condition is that employee is having unid column like 'u0871457' where as class …

  4. How to Select a substring in Oracle SQL up to a specific character?

    SELECT REGEXP_SUBSTR('STRING_EXAMPLE','[^_]+',1,1) from dual is the right answer, as posted by user1717270 If you use INSTR, it will give you the position for a string that assumes …

  5. what is the difference between SUBSTRING and SUBSTR functions …

    Oct 15, 2012 · 3 substring is the sql operation defined in the sql standard ISE:IEC 9075:1992. substr is an old syntax used by oracle. This wrong syntax is completely inconsistent with sql …

  6. Get everything after and before certain character in SQL Server

    Jun 13, 2012 · I got the following entry in my database: images/test.jpg I want to trim the entry so I get: test So basically, I want everything after / and before . How can I solve it?

  7. sql - How to query a CLOB column in Oracle - Stack Overflow

    For example while using SQL Plus use the SET BUFFER 10000 to set it to 10000 as the default is 4000. Running the DBMS_LOB.substr command you can also specify the amount of …

  8. How to use SQL CONCAT/SUBSTR? - Stack Overflow

    Feb 18, 2015 · 4 You seem to be confusing the concat function, substr function and the concatentation operator (||). You aren't using substr to get the first character of the first name, …

  9. How do I get textual contents from BLOB in Oracle SQL

    May 6, 2009 · I am trying to see from an SQL console what is inside an Oracle BLOB. I know it contains a somewhat large body of text and I want to just see the text, but the following query …

  10. sql - REGEXP_SUBSTR syntax not making sense ... - Stack Overflow

    Mar 9, 2023 · I am finding out very quickly that the REGEXP_SUBSTR help online is 100% not resonating with me (Oracle SQL). I believe I have a relatively simple use case, but I'm having …