Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Portion of a given date
Message
De
02/09/2004 17:33:11
 
 
À
02/09/2004 17:28:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00938979
Message ID:
00938982
Vues:
22
This message has been marked as a message which has helped to the initial question of the thread.
>Hi,
>
>SQL, remote view of MYSQL issue..
>
>What function should I use to get a DATE portion of a DATETIME field ?
>
>..Or, how do I compare those datetime fields with constants data, I mean:
>
>
>..WHERE table1.dttimefld >= ?? AND table1.dttimefld =< ??
>
>
>TIA
>
>Claudio

This works for SQL Server, don't know about MYSQL:
..WHERE table1.dttimefld >= '20040801' AND table1.dttimefld =< '20040901'
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform