How to get first day of the current month in Mysql

How to get first day of the current month in Mysql

Example:
--First day of the current month
SELECT DATEADD(mm, DATEDIFF(mm, 0, GETDATE()), 0)
Result:

Post a Comment

0 Comments