About 1,000,000 results
Open links in new tab
  1. Alternative for INSTR() in Microsoft SQL Server - Stack Overflow

    Feb 23, 2022 · Is there an alternative for the INSTR () function used in Oracle for SQL Server. I need to use INSTR () with all four parameters, INSTR (string, substring [, start_position [, …

  2. sql server - How do i write INSTR in T-SQL? - Stack Overflow

    Nov 16, 2015 · How do i write INSTR in T-SQL? Asked 9 years, 11 months ago Modified 9 years, 11 months ago Viewed 7k times

  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 - Use Oracle INSTR function to search for multiple strings

    In Oracle/PLSQL, the instr function returns the location of a sub-string in a string. If the sub-string is not found, then instr will return 0. I want to search multiple sub-strings in a string and

  5. SQL Server Equivalent to ORACLE INSTR - Stack Overflow

    Oct 27, 2010 · I wanted to know if in SQL Server there is an equivalent to the Oracle INSTR function? I know that there is CHARINDEX and PATINDEX, but with the Oracle version I can …

  6. Search for a particular string in Oracle clob column

    29 Use dbms_lob.instr and dbms_lob.substr, just like regular InStr and SubstStr functions. Look at simple example:

  7. Qual a diferença entre as funções LOCATE e INSTR?

    May 18, 2017 · POSITION () is standard SQL, LOCATE () is specific to MySQL (), INSTR () is supported for compatibility with ORACLE. Ou seja: POSITION () seria o mysql padrão, …

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

    Fails if run against values that do NOT contain the substring you're looking for. instr returns 0 if you have INSTR('ABC/D', '_'). In the end you have a substring from 0 to (0-1) which is null. Not …

  9. SQL Server - find nth occurrence in a string - Stack Overflow

    Jan 4, 2012 · My SQL supports the function of a substring_Index where it will return the postion of a value in a string for the n occurance. A similar User defined function could be written to …

  10. mysql - LOCATE vs INSTR - Stack Overflow

    Jul 20, 2017 · The manual says that INSTR is equal to the call to LOCATE when 2 arguments are supplied. Quote: This is the same as the two-argument form of LOCATE(), except that the …