select stylename,ltrim(substring(stylename, charindex('-', stylename)+1, charindex('-', substring(stylename, charindex('-', stylename)+1, len(stylename)))-1 ))
from fig_style
where stylename like '%[,]%[,]%'
Hi
Try running above code changing coulmn names and database name!!
Thanks
Nilanka Sooriyabandara
↧
Trending Articles
More Pages to Explore .....