Convert date to YYYYMM format

SELECT CONVERT(nvarchar(6), GETDATE(), 112)

Leave a Comment