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

9 lines
191 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`postCode_afterDelete`
AFTER DELETE ON `postCode`
FOR EACH ROW
BEGIN
CALL zoneGeo_delete(OLD.geoFk);
END$$
DELIMITER ;