Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use Max() is SQL
Message
De
14/02/2005 14:32:01
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Use Max() is SQL
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00986746
Message ID:
00986746
Vues:
46
I am to use the MAX() function in an SQL statement. Keying on the maximum date in the PKGDATE field. But is not working, do anyone have any suggestions on how I can do this. See example below.

SELECT DISTINCT SUBSTR(pkgname,1,3), pkgdate, clientver FROM Pkgsrcvd INTO TABLE LAST_TRANSMITTED ;
WHERE MAX(PKGDATE) AND !EMPTY(clientver) ORDER BY 1


Thank You In Advance



Winfred Majors
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform