Microsoft
Software
Hardware
Network
Question : MSSQL Substring Character
I have values in a column that look like this...
ClientA_16pks-Can
ClientB_24pks
...
How do I do a query that would return the values so they look like this...
16pks-Can
24pks
...
Answer : MSSQL Substring Character
assuming that "_" is the character to split on:
1:
select substring(yourfield, charindex("_", yourfield") + 1, 300)
Open in New Window
Select All
Random Solutions
Creating logon script to run under administrator privlidges
Is there a graphic ACL management tool?
cannot close Word 2007 via close box
Home network - Browser can not connect
Citrix Tools
Microsoft Exchange Server 2007 - event IDs 8026, 8250, 2104, and 2102
limited movement of a dragable movie clip
Need to understand what nonpaging pool tag is having a memory leak...
Rebuild index error
Ruby RegEx search and replace