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