salix/db/routines/util/functions/cryptOff.sql

16 lines
352 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` FUNCTION `util`.`cryptOff`(vText VARCHAR(255), vKey VARCHAR(255))
RETURNS varchar(255) CHARSET utf8mb3 COLLATE utf8mb3_general_ci
NOT DETERMINISTIC
READS SQL DATA
BEGIN
DECLARE vResult VARCHAR(255);
CALL vn.cryptOff(vText, vKey, vResult);
RETURN vResult;
END$$
DELIMITER ;