Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Triggers - Value Passing
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
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Mar 22 2005 - 05:27:27 CST
![]() |
![]() |