in reply to Perl/DBI autoincrement
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Perl/DBI autoincrement
by duckyd (Hermit) on Jul 18, 2003 at 16:55 UTC |