DELIMITER $$ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`sector_get`() BEGIN /** * Obtiene los sectores */ SELECT s.id,s.description,s.warehouseFk FROM vn.sector s; END$$ DELIMITER ;