MySQL update limit 更新限定条数
MySQL大约 230 字SQL
update test_table set test_column = 'test_value' limit 100;
注意
update limit offset
语句是不可以执行的。
update aaa set bbb = 'ccc' limit 10 offset 20; -- 错误语句
备注
MySQL
中delete limit
操作可以正常执行;Oracle
、PostgreSQL
没有实现update limit
功能,需要使用子句完成;
阅读 69 · 发布于 2020-12-18
————        END        ————
扫描下方二维码关注公众号和小程序↓↓↓

昵称: