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

9 lines
202 B
MySQL
Raw Normal View History

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 ;