📜  sql server 月初 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:35.381000             🧑  作者: Mango

代码示例1
SELECT DATEADD(month, DATEDIFF(month, 0, @mydate), 0) AS StartOfMonth