select 'alter sequence ' || t1.sequence_name ||
' increment by 10000 nocache;'
from user_sequences t1
union all
select 'select ' || t2.sequence_name || '.nextval from dual;'
from user_sequences t2
union all
select ' alter sequence ' || t3.sequence_name ||
' increment by 1 CACHE 20;'
from user_sequences t3;
批量修改SEQUENCE,序列同时增加10000
猜你喜欢
转载自lxy2330.iteye.com/blog/1568235
今日推荐
周排行