Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Y2K like problem!!!
Message
 
 
À
12/01/2001 09:35:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00462903
Message ID:
00462941
Vues:
12
> My client ask for a feature that will allow him to query a set of records. Example, from member id 999-99-00001 (members who register in 1999) to
>999-00-000100 (member register in 2000).

You may want to "split" the search up. Search for all records in the specified range in the 1990's and for all records in 2000 and beyond.

... BETWEEN(memberid,999-99-00001, 999-99-99999) OR BETWEEN(memberid,999-00-00000,999-00-000100)...

This will give the user the illusion that "00" is greater than "99".
Ken Wardwell
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform