cancel
Showing results for 
Search instead for 
Did you mean: 

Error using SIMILAR TO search condition on a proxy table

cigaras
Participant
0 Kudos
1,608

Lets say I have a simple proxy table:

CREATE EXISTING TABLE prx AT 'remote_server;;dba;tbl';

If I filter it with SIMILAR TO:

SELECT * FROM prx WHERE prx.col SIMILAR TO 'a'

I get following error on SA version 17.0.9.4897:

Could not execute statement.
Server '': e:\\1709_rc2\\sqla\\src\\db\\engine\\omni\\qdexpr.c:1622
Query
Decomposition:  Unknown Node Type
SQLCODE=-660, ODBC 3 State="HY000"
Line 1, column 1

If I change SIMILAR TO to LIKE I do not get the error. Same error on version 16.0.0.2614. Any ideas?

Accepted Solutions (0)

Answers (0)