vision59
SSCrazy
Points: 2601
More actions
December 5, 2005 at 8:28 pm
#166712
I have a classadmit date to from get date() - 24 hours. how to do it TSQl
Thanks
Sergiy
SSC Guru
Points: 110209
December 5, 2005 at 8:56 pm
#607860
= getdate() - 1
_____________Code for TallyGenerator
philcart
SSC-Forever
Points: 47797
December 5, 2005 at 9:44 pm
#607865
... or just to be different
DateAdd(hh, -24, GetDate())
--------------------Colt 45 - the original point and click interface
David Burrows
Points: 65144
December 6, 2005 at 7:15 am
#607924
Or
DateAdd(minute, -1440, GetDate())
OK, only kidding
Far away is close at hand in the images of elsewhere.Anon.
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply