Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use only date portion to compare SQL datetime v
Message
 
 
À
14/10/2005 15:35:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01059167
Message ID:
01059355
Vues:
12
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform