oracle 用拼接Sql 语句的方式修改序列Sequence

select 'alter sequence '||user_sequences.sequence_name||' increment by 50000000 nocache;

select '||user_sequences.sequence_name||'.nextval from dual;

alter sequence '||user_sequences.sequence_name||' increment by 1 nocache;'from user_sequences

 

你可能感兴趣的:(sequence)