作者:封鹏 | 来源:互联网 | 2014-07-09 16:02
oracle获取所有序列Sql代码SELECT'CREATESEQUENCE'||SEQUENCE_NAME||'INCREMENTBY'||INCREMENT_BY||'STARTWITH'||LAST_NUMBER|
oracle获取所有序列
Sql代码
SELECT ' CREATE SEQUENCE ' || SEQUENCE_NAME || ' INCREMENT BY ' ||
INCREMENT_BY || ' START WITH ' || LAST_NUMBER || ' MAXVALUE ' ||
MAX_VALUE || ' CACHE ' || CACHE_SIZE || ' ORDER NOCYCLE ;' FROM user_SEQUENCES
www.2cto.com