[code=oracle]
CREATE OR REPLACE TRIGGER "NEO".TEMP_ TR BEFORE
INSERT ON TEMP FOR EACH ROW
declare
c_id number:=0;
BEGIN
select :new_ID into c_id from dual ;
dbms_output.put _line(c_id);
End;
[/code]
i am getting the error
4/8 PLS-00049: bad bind variable 'NEW_ID'
basically i want to store :new_ID value into a variable for further processing
CREATE OR REPLACE TRIGGER "NEO".TEMP_ TR BEFORE
INSERT ON TEMP FOR EACH ROW
declare
c_id number:=0;
BEGIN
select :new_ID into c_id from dual ;
dbms_output.put _line(c_id);
End;
[/code]
i am getting the error
4/8 PLS-00049: bad bind variable 'NEW_ID'
basically i want to store :new_ID value into a variable for further processing
Comment