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
 date function explain

Author  Topic 

learntsql

524 Posts

Posted - 2009-10-20 : 07:17:47
Can you plz. explain following statement. how to analyze these type of statements.
DATEADD(s,0,DATEADD(mm, DATEDIFF(m,0,GETDATE()),0))

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2009-10-20 : 08:16:29
Read about Dateadd and datediff functions in SQL Server help file

Madhivanan

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

- Advertisement -