oracle的SEQUENCE【序列】

1.建立序列:create SEQUENCE DCMS_subitem_id start with 1 increment by 1 MAXVALUE 99999999rem

2.程序獲取的時候 : select DCMS_subitem_id.nextval from dual; 來獲取最大值的下一個值。it

相關文章
相關標籤/搜索