Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL select between dates on ADO
Message
From
11/06/2002 18:48:53
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
SQL select between dates on ADO
Miscellaneous
Thread ID:
00667135
Message ID:
00667135
Views:
66
Hi everyone

I'm creating a SQL select statement for an ASP page which connects to a VFP database through ADO

I’ve successfully executed the SQL statement and displayed the returned data when the “where” clause does not include any date selection criteria.

How should the where statement should be constructed on order to make a selection between dates?

Does the braces should work for date expresions?

Testing with the TasTrade database and the orders table I’ve unsuccessfully tried things like this

“…where order_date >= {1994/01/01}”

“…where between(order_date, {1994/01/01}, {1994/12/01}”

Thanks in advance for any help.

Oscar Corte
Next
Reply
Map
View

Click here to load this message in the networking platform