Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL pulls up records with blanks
Message
 
 
À
10/04/2001 13:08:48
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00494057
Message ID:
00494149
Vues:
23
>Randy,
>
>Read in Help about SET("Exact"). You can use CustNo == '12345' or ALLTRIM(CustNo) = '12345' to get only those with '12345', and not '123' or whatever.
>
>
>>An SQL statment such as: SELE * FROM customers WHERE custno = '12345' also pulls up records with an *empty* custno filed. Why?
>>Thanks, Randy

Cindy,

SET EXACT doesnt affect how comparisons between strings of different lengths are made with the = operator in in Visual FoxPro SQL commands,
SET ANSI does.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform