Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Search for a special character '@' produces error. error: syntax error, unexpected T_ESCAPE, expecting $end

$
0
0

The following query results in an error due to @ symbol. The query works fine when @ is not searched.

 

sql_error:3:68: error: syntax error, unexpected T_ESCAPE, expecting $end

SELECT

 

 

T1."id_1" AS FACET, COUNT(*)  FROM "Acquired_FACTS_2_f41a4960_8edd_4ac1_b7b0_8b8330820b39" T1

 

 

WHERE lower(T1."id_1") LIKE lower('%@@%') AND T1."id_1" IS NOT NULL escape '@' GROUP BY FACET ORDER BY 2 DESC,1 ASC.


Note that these queries are generated when I do a full-text search in SAP Lumira. Any idea why this error is occuring? Thanks.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>