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

Re: PATINDEX EQUIVALENT FUNCTION IN HANA???

$
0
0

Hi Florian,

 

Basically locate function locates the position of a sub string in a string

eg:SELECT LOCATE ('length in char', 'length') "locate" FROM DUMMY; locate 1

 

but in my case i want to locate the position of - in Mth

 

where Mth is column in the table and the value look like this Mth =2016-january,2016-february,2016march

"MARKETING"."MSSQL_Marketing_TBL_MKT_SNUG_SIG_METRICS"

 

Regards

Naresh p


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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