I have a problem with calling a function I created using MySQL Workbench. Function:
DELIMITER $$
CREATE FUNCTION welcome()
RETURNS TEXT
deterministic
BEGIN
RETURN 'Hello World!';
END
$$
DELIMITER ;
After I hit this button: buttonMySQL
I get: "Error parsing sql code for object Syntax error: unexpected 'COLLATE' (collate)"
Funny thing is when i call this function using code, like:
SELECT world.welcome();
It works.