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
Buying Traffic
Problems Installing MSDE
How to check if a sql job is running for a long time
Creating my own Toolbar & buttons
OCS 2007 R2 CWA Desktop Sharing
Possible to remove characters from form fields in Acrobat that were filled by import, using JS?
Entourage & Outlook Calendar Sharing Using Exchange
Re-install an XP-Home "Upgrade" system (activation and WGA issues)?
how to change interface langue in xp profesional
Is there an equivalent of Red Hat Enterprise Linux server ($349 std sub) FREE?