Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server DateTime and Visual FoxPro
Message
De
05/03/2004 10:20:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00883463
Message ID:
00883474
Vues:
9
Hi,

I usually convert my dates into a character string, SQL handles them nicely.

Something like this:

lcDateStart = "'20040101'" && use yyyymmdd format
lcDateEnd = "'20040515'"

SQLEXEC(tConnection, 'SELECT * FROM LineCall ;
where datecreated >= ?lcDateStart ;
and datecreated <= ?lcDateEnd ', 'cuLineCall' )



HTH
Diane Robitaille eng.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform