Wednesday, March 7, 2012

function dateadd

hi,
can something tell me what function do i need if i want to know what happen the last three hours?
for example: dateadd (hh, -3, getdate())
it seems not working?!!that works just fine

perhaps remove the space between dateadd and (|||it was just a small mistake that i did not consider, now it's working, actually the space has nothing to do with it.
thanks

No comments:

Post a Comment