GetDate()是获取当前时间

1.例如获取年月类似 201706

需要改为语句:

Select Datename(year,GetDate())+Datename(month,GetDate())

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-23
  • 2022-01-04
  • 2021-10-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2022-03-02
  • 2021-09-23
  • 2022-12-23
相关资源
相似解决方案