GET 1ST DAY OF MONTH

SELECT DATEADD(MONTH,DATEDIFF(MONTH,0,GETDATE()),0) AS FIRSTDAY_OF_MONTH

你可能感兴趣的:(GET 1ST DAY OF MONTH)