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: Triggers - Value Passing

RE: Triggers - Value Passing

From: Kean Jacinta <jacintakean_at_yahoo.com>
Date: Tue, 22 Mar 2005 02:23:52 -0800 (PST)
Message-ID: <20050322102352.96336.qmail@web52907.mail.yahoo.com>


I manage to found an example that show how this Returning clause work. The bind variable works in iSQL* PLUS.

INSERT INTO employees

      (employee_id, last_name, email, hire_date, job_id, salary)

   VALUES
   (employees_seq.nextval, 'Doe',
'john.doe_at_oracle.com',

       SYSDATE, 'SH_CLERK', 2400)
   RETURNING salary*12, job_id INTO :bnd1, :bnd2;

My question , If this statement put inside a trigger . Then how would a trigger pass the returning value to my application ?

JKean


Do you Yahoo!?
Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 22 2005 - 05:27:27 CST

Original text of this message

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