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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Trigger

RE: Trigger

From: Rajagopal Venkataramany <gvrvrr_at_yahoo.com>
Date: Wed, 6 Dec 2000 20:36:06 -0800 (PST)
Message-Id: <10702.123894@fatcity.com>


Raman,

  The way it is coded, u will get the field name only   because you have just formed the field name and   stored it in the 2 fields shown below.

> > newvalname := ':NEW.'||fldname;
> > oldvalname := ':OLD.'||fldname;
> > stmt := 'begin' || chr(10) ||
> 'dbms_output.put_line(' ||
> > ':newvalname' ||
> > ');' || chr(10) || 'end;';

  Modify this code and place it after the dbms_sql.bind_variable clause to get the actual value stored in it.

  Hope this helps...

Regards
Rajagopal Venkataramany

Received on Wed Dec 06 2000 - 22:36:06 CST

Original text of this message

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