我有一个 500,000 行的 SQL 脚本:
update users set region_id = 9814746 where id = 101 and region_id is null;
update users set region_id = 9814731 where id = 102 and region_id is null;
update users set region_id = 3470676 where id = 103 and region_id is null;
我想每行插入10
几秒钟的延迟。50
是否pgsql
有waitfor
类似的声明t-sql
。
谢谢。