Quantcast
Channel: SCN : Discussion List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 5653

Escape Characters in Dynamic Queries in HANA

$
0
0


Hi All,

 

We are using Dynamic Queries in our Stored procedure and sometimes we need to use string literals (e.g. 'abc' or "YEAR_MONTH"||'01') in the query. Can anyone share the escape character which we need to use for single quote(') or for concatenation symbol (||)? I know I can first initialize a variable and use that variable in the query, but it will be nice to know, what should be the escape character if I need to hard code these literals in the query.

 

Regards,

Piyush


Viewing all articles
Browse latest Browse all 5653

Trending Articles



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