Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT Statement
Message
De
31/05/2001 07:56:47
 
 
À
31/05/2001 07:28:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00513062
Message ID:
00513077
Vues:
14
This message has been marked as a message which has helped to the initial question of the thread.
Jeff,
SET EXACT doesn't influence SQL commands. Use SET ANSI instead.
SET ANSI OFF && default setting is OFF
SELECT * FROM < MyTable > WHERE < MyField > = "T"
or
SELECT * FROM < MyTable > WHERE < MyField > LIKE "T%"
HTH

>I have a select statement that needs to search for the nearest matches in a talbe. If the user enters "T" in the search field, then the select statment to select all those records that begin with T. Set near is ON, Set Exact is Off. But what happens is that all the records that begin with T show up but so does everything after T, names with U, V,W, X, Y,Z....can anyone assist?
Daniel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform