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: <raman.yagna_at_db.com>
Date: Thu, 7 Dec 2000 13:52:58 +0800
Message-Id: <10702.123899@fatcity.com>


Hi,

       It's not woking for me. IS it working for you. Thanks .... Regards,
Raman

From: gvrvrr_at_yahoo.com on 07/12/2000 04:36 GMT

Please respond to ORACLE-L_at_fatcity.com

To: ORACLE-L_at_fatcity.com
cc:
Subject: RE: Trigger

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


Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rajagopal Venkataramany
  INET: gvrvrr_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
Received on Wed Dec 06 2000 - 23:52:58 CST

Original text of this message

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