Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find chars within a string
Message
From
29/01/2003 10:14:47
 
 
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:
00746679
Views:
25
>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


Hi ,
SELECT CHARINDEX('TEST', Column_table) from ...
this command return the initial position of the 'TEST' in column_table
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Previous
Reply
Map
View

Click here to load this message in the networking platform