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
Query with value determined by value on previous row
perl school; undef, legit use of
how to kill process in widows where task manager disabled !
after setting up a 2008 member server in a 2003 domain I cannot log in as domain admin on member server
Non-stop File Copy Utility?
1x1 pixel tracking
301 Redirect
Magento - Disabling the Customer Registration Form
How to move SQL 2005 data and log files
Excel: VBA Function To Sum Combinations