Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find chars within a string
Message
De
29/01/2003 10:14:47
 
 
À
29/01/2003 10:00:18
Alvin Lourdes
Children and Youth Services Cluster
Toronto, Ontario, Canada
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Divers
Thread ID:
00746670
Message ID:
00746679
Vues:
32
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform