Quantcast
Channel: SCN: Message List - Software Support and Maintenance
Viewing all articles
Browse latest Browse all 2823

Re: What is the escape characters in HANA enterprise

$
0
0

Hi All,

 

I found the escape characters in HANA.

 

If you want to search for the percentage sign (%) or underscore (_), you have to place an ESCAPE character in front. You can choose the ESCAPE character (with some restrictions).

LIKE '$%%' ESCAPE '$'

String starting with a percentage sign

LIKE '$_ _' ESCAPE '$'

String of two characters starting with an underscore

LIKE '%$%' ESCAPE '$'

String ending with a percentage sign

LIKE '%$%%' ESCAPE '$'

String containing a percentage sign

LIKE '%$_$%%' ESCAPE '$'

String containing an underscore followed by a percentage sign

LIKE '_ _ _ _ $%_ $ _%' ESCAPE '$'

“%“ on fifth and “_“ on seventh position.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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