Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Oracle Sequences
I have 12 tables that have the same named column in each. I will be loading
(via sqlldr) data into these tables. What I need to do is as each record is
loaded add a sequence number (currval) to each of these 12 tables. The
sequence number will be the same for all 12 tables to tie them together.
When the next record is loaded I need to take the nextval in the sequence
and put it in all 12 tables. And so on.
I have created the sequence object and it works on one table / column. However, I cannot get the coding correct to do what I want.
Any and all suggestions are welcome.
Thanks,
Ken Janusz, CPIM
Database Conversion Lead
Sufficient System, Inc.
Minneapolis, MN
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ken Janusz INET: ken.janusz_at_sufsys.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Fri Dec 14 2001 - 13:50:49 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |