--每天定时00:00:00更新SQL


drop
EVENT `Reset_tbidentity`; CREATE event if not exists `Reset_tbidentity` ON SCHEDULE EVERY 1 DAY STARTS concat(current_date,' 00:00:00') ON COMPLETION PRESERVE ENABLE DO UPDATE tbidentity SET Identity =0; alter event Reset_tbidentity ON COMPLETION PRESERVE ENABLE;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-08-31
  • 2021-10-10
  • 2021-08-27
  • 2021-11-29
  • 2021-12-06
  • 2021-05-18
相关资源
相似解决方案