select * from table_name for update; select t.*, t.rowid from table_name t 的区别

前者会对你查询出来的结果加上锁,而后者就没有这样的机制;

 

相关文章:

  • 2022-02-26
  • 2022-02-25
  • 2021-07-08
  • 2021-07-05
  • 2021-10-10
  • 2021-09-05
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-06-10
  • 2022-12-23
  • 2021-08-03
相关资源
相似解决方案