Which date function is used to find
the difference between two dates?
Ans.
SELECT DATEDIFF(dd,'10-10-2010','15-10-2010')
|
OUTPUT: 5
more=>http://msdn.microsoft.com/en-us/library/ms189794.aspx
more=>http://msdn.microsoft.com/en-us/library/ms189794.aspx
No comments:
Post a Comment