Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find chars within a string
Message
 
 
À
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:
00746676
Vues:
40
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform