Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
*Close* query results?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00249415
Message ID:
00249421
Vues:
23
Mark,

You want to use the LIKE operator:

SELECT * FROM customer WHERE name LIKE ?cName

When you assign a value for cName, append a % to the value

cName = ALLTRIM(cName) + '%'

SQL Server will match everything that begins with whatever has been specified in cName.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform