Auto commit
This commit is contained in:
parent
b030ae136a
commit
fbb09280fd
@ -506,7 +506,7 @@ DELIMITER ;
|
||||
DELIMITER $$
|
||||
DROP TRIGGER IF EXISTS before_job_delete;
|
||||
CREATE TRIGGER before_job_delete
|
||||
BEFORE DELETE ON employee
|
||||
BEFORE DELETE ON job
|
||||
FOR EACH ROW
|
||||
BEGIN
|
||||
IF (SELECT COUNT(*) FROM employee WHERE job_id = OLD.job_id) > 0 THEN
|
||||
|
Loading…
x
Reference in New Issue
Block a user