salix/db/routines/vn/triggers/bankEntity_beforeInsert.sql

9 lines
202 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`bankEntity_beforeInsert`
BEFORE INSERT ON `bankEntity`
FOR EACH ROW
BEGIN
CALL bankEntity_checkBic(NEW.bic);
END$$
DELIMITER ;