community.mysql/tests/integration/targets/test_mysql_user/files/create-function.sql
2020-07-10 15:48:29 +01:00

8 lines
170 B
SQL

USE foo;
DELIMITER ;;
CREATE FUNCTION `function` () RETURNS tinyint(4) DETERMINISTIC
BEGIN
DECLARE NAME_FOUND tinyint DEFAULT 0;
RETURN NAME_FOUND;
END;;
DELIMITER ;