Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find chars within a string
Message
 
 
To
29/01/2003 10:00:18
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00746670
Message ID:
00746676
Views:
27
See CHARINDEX function in BOL.
SELECT CHARINDEX('TEST', 'This is a test.')
>Hi,
>
>I would like to find the word
>TEST
>within a string that may or may not contain this word.
>What is the best method to accomplish this.
>
>I actually want to return the position in the string the word starts.
>
>Any ideas?
>
>Thanks
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform