9 lines
221 B
MySQL
9 lines
221 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`operator_beforeInsert`
|
||
|
BEFORE INSERT ON `operator`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL vn.printer_checkSector(NEW.labelerFk, NEW.sectorFk);
|
||
|
END$$
|
||
|
DELIMITER ;
|