In Pervasive SQL version 11, is there a native function that I can use inside a select clause that will return the index location of a character within a string?
I found this: http://help.pervasive.com/display/DI1025/InStrRev+Function
But, when I use it in a normal select-query, execution fails with reason: "Invalid user-defined or scalar function." I'm apparently looking in the wrong place for native functions that work in Pervasive SQL statements alone (without scripting).
MS SQL Server has a function called charindex, that does what I'm trying to do in Pervasive SQL. Does Pervasive SQL have an equivalent?