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: Copying rows

Re: Copying rows

From: Morten Bråten <mobra_at_statoil.com>
Date: 1998/12/17
Message-ID: <36791BCE.84C931E5@statoil.com>#1/1

Russ Whiteman wrote:

> You could use a before_insert trigger on the table to whatever value is in
> the primary key column with the next sequence number, then your query would
> not need to specify column names. This has the downside of assuming that
> you always want duplicate row inserts to succeed, but nothing's perfect.

How would I construct this trigger? I want to be able to insert "normal" rows as well.

Received on Thu Dec 17 1998 - 00:00:00 CST

Original text of this message

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