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:
01249990
Vues:
12
>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform