Just create a shell script which first calls sqlloader to populate table 1, then calls a sql script to populate table2. Schedule it with a cron job.
Dennis [EMAIL PROTECTED] wrote: > > Hallo all you DBA's, > > Can anyone give me some examples on how to do this: > > I want a sqlloader to run, the sqlloader is doing an insert into a table(TABLE1) >from a text file, immediately, after the insert into tthe table, there will be an >insert into another table(TABLE2) with data from TABLE1. Give me a good example of > this. > > I also want the sqlloader to run at a certain clock time, let us say 2 am(at >night).. Iam running from unix. > > Would appreciate this if you could help me with these steps. > > Thanks in advance. > > Roland Sk�ldblom > > -- > Please see the official ORACLE-L FAQ: http://www.orafaq.com > -- > Author: > INET: [EMAIL PROTECTED] > > 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: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in > the message BODY, include a line containing: UNSUB ORACLE-L > (or the name of mailing list you want to be removed from). You may > also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Dennis M. Heisler INET: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
