Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine last minute and second possible in a datetime
Message
De
18/10/2007 12:18:09
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01261814
Message ID:
01261880
Vues:
16
Yes, I saw that too in my testing. I changed it to 00:00:00 on the beginning date.


>Actualy you should not roll starting date back one day or you will pickup all previous date data excluding midnight.
>
>>Thanks Sergey!
>>
>>
>>>Tracy,
>>>
>>>You doun't need to change start date but you're correct about moving end date to the beginnig of the next day
>>>
>>>fielddate >= '05/01/2007 00:00:00' and fielddate < '06/01/2007 00:00:00'
>>>
>>>
>>>>Nevermind, I decided it would be easier to go back one day from the beginning date and foward one day from the endate and do > 04/30/2007 and < 06/01/2007 instead...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform