---DATEADD(yy,1,begindate)   begindate字段   如果想要加一年 1   想要减一年  -1

update gas_task set begindate= DATEADD(yy,1,begindate) where govid =380 and task_type=1 and finish_status='待安检,已过期' and begindate <'2018-05-31 16:45:11.220'

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2021-12-26
  • 2021-12-03
  • 2021-12-18
  • 2021-07-09
  • 2021-12-03
  • 2022-12-23
相关资源
相似解决方案