ASP.NET and SQL SERVER Tricks
Wednesday, March 16, 2011
How to select substring according to CHARACTER INDEX
select serial_num, SUBSTRING([imagePath],CHARINDEX('a',imagePath),CHARINDEX('g',imagePath)) as column1 from Tbl_EmpDetails order by serial_num asc
0 comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment