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

9 lines
200 B
SQL

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