Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP - problem with DATE field
Message
 
To
12/12/2006 08:36:38
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
01176801
Message ID:
01176824
Views:
12
In SQL Server that will work, because SQL Server convert the string to DateTime (if it can), VFP doesn't.
BTW in both better use ANSI date format - yyyymmdd, that way you will not have troubles with SET DATEFORMAT (in SQL Server) SET DATE TO (in VFP).
:-)
DTOS() will not be recognised in SQL Server.

If this is eligible system, then work with parameters, do not query directly:
SELECT * FROM tblAbc WHERE DTOS(trans_date) => ? AND DTOS(trans_date) <= ?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform