Tuesday, February 14, 2012

dateadd

Just want to double check this.

To add 30 days to the current date in a stored procedure using SQL Server should be this:

DATEADD(day, 30, GETDATE())

Right?

Thanks,

Zath

Yes, I will do the same thing.

No comments:

Post a Comment