Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL question
Message
De
19/12/2001 13:37:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00596300
Message ID:
00596316
Vues:
18
Hi Bret!

Actually these two statements get the same results. Both return the same three records.
SELECT * from prop_97 WHERE prop_numb = VAL("1065")
SELECT * from prop_97 WHERE ALLTRIM(STR(prop_numb)) == "1065"
Note the "=="

What I have a problem with is that
SELECT * from prop_97 WHERE prop_numb = VAL("10655")
gets zero records and
SELECT * from prop_97 WHERE ALLTRIM(STR(prop_numb)) == ("10655")
gets three records. What's the difference?
Jim Philippi

quando omni flunkus moritati
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform