Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting data from the last six months
Message
De
04/03/2005 15:24:30
 
 
À
04/03/2005 15:18:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00992875
Message ID:
00992877
Vues:
21
You must have a datestamp field to be able to do this, the datestamp field must be updated with DATE() or DATETIME() every time the record changes in any way.
ldDate=date()-182
SELECT * FROM yourtable WHERE DATESTAMP>=ldDate
>How do I write a Select statement that will retreive the data from just the last six months.
>
>Thanks
>jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform