2
Answers

Inbuild datatype of column

How to find what will be the inbuild datatype of this column - MonthYear once we format Getdate() to 'MMM-yy'

select FORMAT(getdate(), 'MMM-yy')  AS MonthYear

Answers (2)