Home » RDBMS Server » Server Utilities » reference/retrive key content during a SQL Load
reference/retrive key content during a SQL Load [message #74467] Thu, 16 December 2004 10:24 Go to next message
Byron V. Ballentine
Messages: 1
Registered: December 2004
Junior Member
I have two tables to load, one with equipment info, the other with equipment atritbute info.  The equpiment table has a auto number as primary key, this key is used to reference the attribute info for each piece of equpiment.  During my load I will have available the equipment attribute info but I need the newly created primary key of the equipment to tie its' attribute info with the attribute table.  How can I reference and retrieve this autonum primary key during a SQL Load?   Thanks.  Byron
Re: reference/retrive key content during a SQL Load [message #74484 is a reply to message #74467] Sun, 19 December 2004 05:08 Go to previous message
Frank Naude
Messages: 4580
Registered: April 1998
Senior Member
Hi,

You can reference the sequence in your SQL*Loader
control file. Look at the example in this FAQ -
http://www.orafaq.com/faq/sql_loader

Best regards.

Frank
Previous Topic: urgently needed faq
Next Topic: sql * loder
Goto Forum:
  


Current Time: Wed Jul 03 08:01:31 CDT 2024