from yyyy-mm-dd to mm-yy?

后端 未结 0 1473
悲哀的现实
悲哀的现实 2020-11-27 05:29

How do I convert a date like 2020-03-25 to 03-20 ?

I tried this:

select 
  FORMAT (d.[Date], \'MM-YY\') as monthyear
from x  d

But I a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题