Just in case anybody super-searches this node, the Oracle equivalent here is:
INSERT INTO ATABLE ( FIELD1 ) SELECT SEQ_NAME.NEXTVAL;
Then to retrieve the sequence value just entered:
SELECT SEQ_NAME.CURRVAL FROM DUAL
In reply to Re: Perl/DBI autoincrement
by Anonymous Monk
in thread Perl/DBI autoincrement
by Digitus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |