Home » RDBMS Server » Server Utilities » SQL*Loader Multiple Rows
SQL*Loader Multiple Rows [message #117501] Wed, 27 April 2005 10:29 Go to next message
lneumann
Messages: 1
Registered: April 2005
Location: Nashville
Junior Member
Consider the following data.

Date Check Amount
01-JAN-O5 0001 1000
01-JAN-05 0002 1514
04-JAN-05 0003 2052

Can I use a SQL*Loader to load this data into a table that will produce the following results?

REC ID DATE CHECK AMOUNT
01 31-JAN-05 Null Null
02 01-JAN-05 0001 1000
02 01-JAN-05 0002 1514
02 04-JAN-05 0003 2052

What I want to do is to load the 3 detail rows (easy enough) but also create a single header row in the same table.

[Updated on: Wed, 27 April 2005 10:30]

Report message to a moderator

Re: SQL*Loader Multiple Rows [message #118246 is a reply to message #117501] Tue, 03 May 2005 16:47 Go to previous message
DenisS
Messages: 2
Registered: April 2005
Location: Vancouver, Canada
Junior Member
Not sure about the SQL*Loader,
but you can always run SQL script before SQL loader or/and after it.
That's pretty simple.
Previous Topic: Import schema from prod to test db
Next Topic: ORA-00922 Error While Importing a dump File
Goto Forum:
  


Current Time: Wed Jul 03 08:30:40 CDT 2024