Query: select substr('TechOnTheNet', -3, 3) from dual
Expected Output: Net
Actual Output: TecTo make this work, I 1. implemented my own function, registered it(create alias substrXX.....) with name substrXX 2. Then before executing a query, replaced all the substr with substrXX Had to register it using a different name substrXX, otherwise org.h2.jdbc.JdbcSQLException: Function alias "SUBSTR" already exists; SQL statement: CREATE ALIAS SUBSTR FOR "com.SubstrXX.execute" [90076-160] Is there a way to register the new implementation with the same name substr ? -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
