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: Newbie: Primary key assignment

Re: Newbie: Primary key assignment

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 11 Feb 2000 19:22:57 +0100
Message-ID: <950295211.26618.0.pluto.d4ee154e@news.demon.nl>


The first will be more efficient and has the advantage it will also work in sqlplus and other tools.

Both triggers will fire. The pre-insert trigger will fire first, the database trigger last.

Hth,

Sybrand Bakker, Oracle DBA

S. van Hoof <info_at_hoof.nl> wrote in message news:881ibo$h8q$1_at_news1.xs4all.nl...
> I am using Forms 5 and Oracle7.
>
> I wonder where I should handle the "primary key" assignment for my tables,
> in the server (database insert row trigger) OR in my forms (pre-insert
> trigger) ?
>
> What happens when both triggers exist?
>
> Thanks
> Stephan
>
>
>
>
>
Received on Fri Feb 11 2000 - 12:22:57 CST

Original text of this message

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