Hi ,

Due to migration work the trigger in my schema was dropped.
It has to be again created.

When i executed the trigger it shows the following error.

What should i do.Good Guidance will be helpful.

SQL> BEGIN
2 IF INSERTING THEN
3 INSERT INTO EQPART(EQNUM,ITEMNUM) VALUES
4 (:new.eqnum,:new.itemnum);
5 ELSIF DELETING THEN
6 DELETE FROM EQPART WHERE EQNUM = ld.eqnum AND
7 ITEMNUM = ld.itemnum;
8 END IF;
9 END;
10
11 /
Bind variable "OLD" not declared.

Thanks in advance

Dinesh