Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd results on SQL Select
Message
De
14/06/2006 18:50:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Odd results on SQL Select
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01129147
Message ID:
01129147
Vues:
65
Assume a table containing the following entries for itemNum:
B2456DI14
B2456DI14R
B2456DI14TT
B2456DI14W

select * from itemMast ;
    where itemnum >= "B2456DI14" and itemNum <= "B2456DI14"
The SQL Select returns all four of those records. However if I go to the any of them besides the first record, and do:
? (itemNum >= "B2456DI14" and itemNum <= "B2456DI14")  && shows FALSE
Trying to make a parameterized view that can get a range of records, or only one record if start and ending values are the same. But it is a bust at this point.

Any ideas?
Steve Gibson
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform