Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Record Copy Help

Re: Record Copy Help

From: G.H VITTAL <vittal_at_india.hp.com>
Date: Mon, 10 May 1999 19:26:31 +0530
Message-ID: <3736E58F.443F9323@india.hp.com>


write a sql script file

insert into master as
select * from temp_table1;
insert into master as
select * from temp_table2;
commit;

gnuc_at_my-dejanews.com wrote:

> I have a master Table and 5 (kind of)temp tables (same structure).
> Every night I have to copy all records from temp tables to the master table.
> Is there an easy and a fast way to do this with just one command without
> going through PL/Sql and doing Inset on each record separately?
> Thanks.
> (I am using Oracle 8)
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Received on Mon May 10 1999 - 08:56:31 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US