报错:ORA-02287: 此处不允许序号
CREATE TABLE MY_TAB (N1 NUMBER(5),N2 DATE);
SELECT * FROM MY_TAB;
CREATE SEQUENCE MY_SEQ01;
INSERT INTO MY_TAB (N1,N2) SELECT MY_SEQ01.NEXTVAL,SYSDATE FROM DUAL ORDER BY SYSDATE ASC ;
CREATE TABLE MY_TAB (N1 NUMBER(5),N2 DATE);
SELECT * FROM MY_TAB;
CREATE SEQUENCE MY_SEQ01;
INSERT INTO MY_TAB (N1,N2) SELECT MY_SEQ01.NEXTVAL,SYSDATE FROM DUAL ORDER BY SYSDATE ASC ;