Oracle 导出索引Sequence!!

1 select 'create sequence '||sequence_name||
2   ' minvalue '||min_value||
3   ' maxvalue '||max_value||
4   ' start with '||last_number||
5   ' increment by '||increment_by||
6   (case when cache_size=0 then ' nocache' else ' cache '||cache_size end||';'
7   from dba_sequences where sequence_owner='HC-BPMC-MANAGE'
posted @ 2011-03-21 14:44  CoderNet  阅读(547)  评论(0编辑  收藏  举报