The problems in creating a trigger is
Errors: check the compiler log
The TRIGGER TEST. TRI_DEL_CJ error:
The LINE/COL ERROR
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
2/1 of the PL/SQL: SQL Statement ignored
PL/SQL: 2/8 ORA - 00942: table or view there is no
The search on the net, said may authority has a problem, after I gave it to or not, has always been the question
The trigger code below
The CREATE OR REPLACE the TRIGGER TRI_DEL_SCORE AFTER DELETE ON STUDENT
FOR EACH ROW
The BEGIN
The DELETE FORM SCORE WHERE SNO=: OLD. SNO.
END;
SHOW the ERRORS;
The DELETE FROM SCORE WHERE SNO='201801';
The CREATE OR REPLACE the TRIGGER TRI_DEL_SCORE2 AFTER DELETE ON COURSE FOR EACH ROW
The BEGIN
The DELETE FORM SCORE WHERE CNO=: OLD. CNO;
END;
/
CodePudding user response:
2/8: ORA - 00942: table or view there is noLook at the prompt, tables and views do not exist,
SCORE this table, there?
CodePudding user response:
SCORE of other users are listed in the table? So to the SCHEMA in the forefront of the SCORE, such as SCOTT. The SCORECodePudding user response: