Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with ODBC
Message
From
11/11/1998 11:53:35
 
 
To
11/11/1998 11:38:18
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00156619
Message ID:
00156629
Views:
33
>How handle a datetime field in the where part.
>This is not a foxpro database, so dtos will not work
>
>
>example
>q = sqlconnect("testa")
>=sqlexec(q,"select * from test where newdatet>"+??? ,"Mycursor")

You should use functions which are supported by your back-end, e.g. on SQL_Server it's usually Datepart function.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform