salix/db/routines/pbx/functions/clientFromPhone.sql

12 lines
260 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `pbx`.`clientFromPhone`(vPhone VARCHAR(255))
RETURNS int(11)
DETERMINISTIC
BEGIN
/**
* @deprecated Use vn.client_getFromPhone()
*/
RETURN vn.client_getFromPhone(vPhone);
END$$
DELIMITER ;