SQL SERVER – Script/Function to Find Last Day of Month May 16, 2012 Get link Facebook X Pinterest Email Other Apps DECLARE @date DATETIME SET @date= getdate() SELECT DATEADD(dd, -DAY(DATEADD(m,1,@date)), DATEADD(m,1,@date)) Comments
Comments
Post a Comment