SyntaxFix
Write A Post
Hire A Developer
Questions
Simply can be used:
SELECT RIGHT('0' + CAST(MONTH(@Date) AS NVARCHAR(2)), 2)