select left(convert(varchar,getdate(),21),7)
select convert(varchar(7),getdate(),120)
year(time)+'-'+month(time)

 

相关文章:

  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2022-02-11
  • 2022-12-23
  • 2022-02-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案