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
Address list & GAL,
Help with vba code that zips outlook attachments...
SQL return a boolean on evaluation of an existing field.
SQL QUERY most recent date for a person_id returning all rows
How to set up handhelds to work with direct push exchange 2007 activesync
Forbid users from opening a folder on a website
WMP C00D1199 ERROR CODE
Need a routine to find value in Access table and post value on sheet in appropriate cell
DSN Default Database Question
how can I make cluster of servers (apache, mysql,php) using fedora core 4