Oracle中的sequence

select max(id) from cs_info_datasource_category where site_id='haixi'

cs_info_datasource_category

select yrogetac_ecruosatad_ofni_sc.nextval from dual

create sequence yrogetac_ecruosatad_ofni_sc
minvalue 1
maxvalue 999999999999999999999999999
start with 1
increment by 1
nocache;

select ECNEUQES_OFNI_SC.nextval from dual

RESU_ELOR_OFNI_SC

create sequence yrogetac_ecruosatad_ofni_sc minvalue 1 maxvalue 999999999999999999999999999 start with 1 increment by 1 nocache;

你可能感兴趣的:(sequence)