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

Home -> Community -> Usenet -> c.d.o.server -> Re: Insert record into table

Re: Insert record into table

From: Robert W. Swisshelm <nospam_at_lilly.com>
Date: 1997/09/04
Message-ID: <340EFF6C.FB2@lilly.com>#1/1

Buddy Taylor wrote:
>
> Can I INSERT a record without listing all of the columns?
>
> e.g.,
>
> a_rec a_cur%ROWTYPE ;
>
> INSERT INTO a_table(*)
> VALUES(a_rec) ;
>
> I'm just guessing here what the syntax might look like.
>
> Buddy Taylor buddyt_at_renewal-iis.com

Look at the SQL*Plus COPY command. It makes copying a table easy, and allows you to take occasional commits. I just posted a lengthy note in comp.databases.oracle.misc with an example, or you can look in the SQL*Plus reference manual.

-- 
Bob Swisshelm
Eli Lilly and Company
nospam.swisshelm_at_lilly.com  
(remove 'nospam' if you want to send mail to me)
Received on Thu Sep 04 1997 - 00:00:00 CDT

Original text of this message

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