Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Trigger -- invalid identifier?

606275Sep 15 2009 — edited Sep 16 2009
Why am I receiving the following error for the following trigger?

"PL/SQL: ORA-00904: "N_ROW"."ID":invalid identifier

CREATE TRIGGER DELETE_ROW
AFTER INSERT ON SCHEMA1.TABLE1 REFERENCING NEW AS N_ROW
FOR EACH ROW
WHEN (N_ROW.FILE_SIZE > 2000000)
BEGIN
DELETE FROM SCHEMA1.TABLE1 WHERE ID = N_ROW.ID;
END;


Note: the column "ID" does exist in the referenced table
This post has been answered by 21205 on Sep 15 2009
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 14 2009
Added on Sep 15 2009
22 comments
2,769 views