Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 about this condition..

Author  Topic 

zeus2026
Starting Member

11 Posts

Posted - 2009-04-06 : 01:49:47

Hi, how to use datediff in sql?? tnx..

z3us

bklr
Master Smack Fu Yak Hacker

1693 Posts

Posted - 2009-04-06 : 01:55:03
see in books online for more details
check this one
select datediff(d,'4/1/2009',getdate())
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-04-06 : 05:13:01
quote:
Originally posted by zeus2026


Hi, how to use datediff in sql?? tnx..

z3us


SQL Server help file will help you to understand with examples

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -