Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use only date portion to compare SQL datetime v
Message
 
 
To
14/10/2005 15:35:01
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01059167
Message ID:
01059355
Views:
10
No need to involve a time portion
where dTrnDate >= @dIniDate and dTrnDate < @dFinDate + 1
>We are doing something similar directly on SQL Server:
>
>select *  from Transactions
>where dTrnDate >= @dIniDate
>and dTrnDate <= @dFinDate+0.9999
>order by dTrnDate
>
>
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform