Home > database >  CHARINDEX () & PATINDEX () equivalent in PostgreSQL
CHARINDEX () & PATINDEX () equivalent in PostgreSQL

Time:10-21

I am trying to translate a T-SQL Query to PostgreSQL and one part of the query contains the string function CHARINDEX () which I am not able to translate to PgSQL.

Here is the part of the query with the string function:

SELECT 
                    REPLACE(REPLACE(SUBSTRING(
                        PARAMETRI
                        ,CHARINDEX('=',PARAMETRI, PATINDEX('           
  • Related