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

Re: use LOCATE() in SELECT * FROM WHERE LOCATE() statement?

$
0
0

Hello Matthias,

 

why you wanna use LOCATE (which returns the position of a searched string) if you already know the position?

 

Is the usage of e.g. the SUBSTRING function not appropriate for you. Something like:

 

SELECT * FROM T
WHERE substring("WORD", 5, 1) = 'o';

 

Regards,

Florian


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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