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: Triggers/sequences or interface code

Re: Triggers/sequences or interface code

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Fri, 26 Apr 2002 21:29:47 +0200
Message-ID: <ucjj59g25n90b9@corp.supernews.com>

"J. Harris" <John.Harris_at_nurs.utah.edu> wrote in message news:aac4nr$prm$1_at_coward.ks.cc.utah.edu...
> For incrementing PK or unique ids what is the "recommended" method for
> achieving the best result: using triggers on insert events or manually
doing
> it at the interface level (i.e., using vba with access, or using
coldfusion,
> etc).
>
> John Harris
> University of Utah
>
>

At the lowest level that is applicable, in this case triggers. Using VBA with Access or Coldfusion means running this code at the client side, and triggers run at the server side. Hence your second proposol will be much much slower.

Regards

--
Sybrand Bakker
Senior Oracle DBA

to reply remove '-verwijderdit' from my e-mail address
Received on Fri Apr 26 2002 - 14:29:47 CDT

Original text of this message

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