Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Position of a specific word
Message
From
04/03/2003 12:25:08
 
 
To
04/03/2003 11:16:11
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00760945
Message ID:
00761006
Views:
30
You might find that it's easier to return the full column and then use regular expressions to parse them apart.

-mike

>Hi All,
>
>I want to search a specific value and find out the number before – in a varchar column
>
>The values are :
>
>ProjectNo Notes
>12 1-Ashish,4-Jain,1-Keith
>44 4-ABC,6-Ashish,8-CCC,6-SSS
>45 5-AAA,8-SSS,8-Keith,11-Ashish
>
>
>I want to return the values
>1
>6
>11
>for different project number when I search for string “Ashish” in Notes column.
>
>Thanks
>…ashish
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform