Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Contains operator
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01249985
Message ID:
01250017
Vues:
16
>>Is there an SQL equivalent to the $ operator in VFP that does not use the CONTAINS function?
>
>See LIKE operator
>
>DECLARE @Lookfor varchar(10)
>SET @Lookfor ='i'
>IF 'My string' LIKE '%' + @Lookfor + '%'
>  PRINT 'Found ' + @Lookfor
>
I think this will work.
Thanks Sergey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform