9 lines
197 B
MySQL
9 lines
197 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `vn`.`zoneGeo_beforeInsert`
|
||
|
BEFORE INSERT ON `zoneGeo`
|
||
|
FOR EACH ROW
|
||
|
BEGIN
|
||
|
CALL zoneGeo_checkName(NEW.`name`);
|
||
|
END$$
|
||
|
DELIMITER ;
|