Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple Syntax
Message
De
07/01/1999 14:16:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00173703
Message ID:
00173708
Vues:
17
Hi Wayne ---

You want the LIKE operator...the syntax is as follows:

SELECT * FROM table WHERE name LIKE "A_____" (All names 6 chars or less beginning with upper-case "A")
SELECT * FROM table WHERE name LIKE "A%" (All names any length beginning with upper-case "A")
SELECT * FROM table WHERE name LIKE "[a-gA-G]%" (Any name, any case starting with A through G)
SELECT * FROM table WHERE name LIKE "%[s-S]%" (Any name with an "s" in it, regardless of case).

>Attempting to retrieve data using $ (contained in) through ODBC to SQL Server. What's the correct syntax?
>
>Wayne
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform