Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC Help
Message
 
 
À
15/11/2000 15:40:22
Steve Summers
Pima County Superior Court
Tucson, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Divers
Thread ID:
00442302
Message ID:
00442318
Vues:
9
>I'm tiring to do the equivalent of this through odbc:
>Select * from customers where lastname = "L"
>In vfp this returns all the customers that have a last name starting with "L".
>Through ODBC this return 0 records.
>
>Next I tried to use the SQL "IN" syntax:
>Select * from customers where lastname IN ("L")
>Again in vfp this returns all the customers that have a last name starting with "L" but through ODBC I get 0 records.
>
>Has anyone ever overcome this seemingly simple problem?


Use LIKE operator
Select * from customers where lastname LIKE 'L%'
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform