DROP FUNCTION IF EXISTS account.userGetNameFromId; DELIMITER $$ CREATE DEFINER=`root`@`%` FUNCTION `account`.`userGetNameFromId`(vSelf INT) RETURNS varchar(30) CHARSET utf8 BEGIN /** * @deprecated Use user_getNameFromId(); */ RETURN user_getNameFromId(vSelf); END$$ DELIMITER ;