Code: MS SQL To find the start of the month
MS SQL To find the start of the month This code: DATEADD(mm, DATEDIFF(mm, 0, GETDATE()), 0) was excuted on 2/3/2010 at 16:11 the result: 01/03/2010 00:00:00 Software engineers do the job better!
SQL DBA
Precious Lite 2022 | All Rights Reserved. Precious Lite theme by Flythemes