Result: 4
SELECT MONTH ('2019/03/31 10:05');
Result: 3
SELECT MONTH ('2019/04/01 10:05:18.621');
Previous lesson: GETUTCDATE function in SQL Server
Next lesson: SQL Server YEAR function