日期:2014-05-16 浏览次数:20823 次
create sequence SEQ_TEST minvalue 1 maxvalue 99999 start with 1 increment by 1 cache 20; select 'DICTIDRS' || LPAD(SEQ_TEST.Nextval, 5, '0') as seq from dual connect by rownum <= 10; SEQ ---------------------------- DICTIDRS00001 DICTIDRS00002 DICTIDRS00003 DICTIDRS00004 DICTIDRS00005 DICTIDRS00006 DICTIDRS00007 DICTIDRS00008 DICTIDRS00009 DICTIDRS00010