DELIMITER $$ CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` FUNCTION `vn`.`clientGetSalesPerson`(vClientFk INT, vDated DATE) RETURNS int(11) DETERMINISTIC BEGIN /** * DEPRECATED: use client_getSalesPerson **/ RETURN client_getSalesPerson(vClientFk, vDated); END$$ DELIMITER ;