Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL datetime --> VFP date in a query
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL datetime --> VFP date in a query
Miscellaneous
Thread ID:
00630844
Message ID:
00630844
Views:
83
Hallo all
I wonder if somebody have a solution on a dateproblem.
I want the datepart of a datetimefield from an SQL server.
Something like this:

select "datepart of a datetimefield" as "datefield" from MySQLtable

I hope you understand my question, I have looked everywhere for a simple solution on this.
Of course I can convert the datetimefield in VFP later, after the SQL query is done, but are there some way to do the convert direct in the query.

Thanks in advance
/Kjell
Next
Reply
Map
View

Click here to load this message in the networking platform