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