Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code for a max expiration date???
Message
De
24/10/2002 08:40:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00714536
Message ID:
00714766
Vues:
16
Sergey, the following code hangs on my computer at around 50%. I also tried on my co-workers computer. Any suggestions? Also, will this code still return all the records which have expired in a month but if a record has 2 the one with the max(expdate)?

select * from rcbfile a ;
where expdate between ctod('09/01/2002') and ctod('09/30/2002') ;
and expdate ;
IN( select max(expdate) ;
from rcbfile b ;
where b.id = a.id)

Thanks,
Sunshine
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform