Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Portion of a given date
Message
From
02/09/2004 17:33:11
 
 
To
02/09/2004 17:28:54
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00938979
Message ID:
00938982
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform