Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting records from SQLServer based on date/time field
Message
From
07/03/2006 18:38:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Selecting records from SQLServer based on date/time field
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01102278
Message ID:
01102278
Views:
49
A simple request: I need to select records for a range of dates. Something like
?SQLEXEC( 1, "Select * from MyTable where between(crtd_datetime, m.startdate, m.enddate)")
But, this gets a return code of -1, presumably because I am not specifying the date parameters correctly.

Any suggestions?
Jim Nelson
Newbury Park, CA
Next
Reply
Map
View

Click here to load this message in the networking platform