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: Using ":new" and ":old" in PL/SQL (Triggers)

Re: Using ":new" and ":old" in PL/SQL (Triggers)

From: Mike Daniell <mike_at_helix.com.au>
Date: Thu, 03 Sep 1998 15:19:34 +1000
Message-ID: <35EE26E6.17E557BA@nospam.helix.com.au>


Two comments:

  1. The :new and :old variables cannot be dynamically defined.
  2. Getting column names from a table every time the trigger fires seems to be an unnecessary overhead that has the potential to severely affect performance. I don't recommend this approach. It is much more efficient to specifically name each column in the trigger logic.

Regards,
Mike Received on Thu Sep 03 1998 - 00:19:34 CDT

Original text of this message

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