About 1,050,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, 8 months ago Modified 12 years, 5 months ago Viewed 106k times

  2. 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 …

  3. 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 …

  4. sql - How to take last four characters from a varchar? - Stack …

    Sep 20, 2012 · 9 For Oracle SQL, SUBSTR(column_name, -# of characters requested) will extract last four characters for a given query. e.g.

  5. 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 …

  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. get string from right hand side - Stack Overflow

    Aug 9, 2010 · I am writing a query in Oracle. I want to get a string from the right hand side but the string length is dynamic. Ex: 299123456789 I want to get 123456789 substr …

  8. 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 …

  9. 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 …

  10. 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 …