Question concerning function call from HeidiSQL

I am doing a MariaDB tutorial at the moment. I access MariaDB by using HeidiSQL. I write the following function and its call into the query window of MariaDB:

`DELIMITER $$
CREATE FUNCTION example_function(id INT)
returns INT
return id;
;

CALL example_function(3);`

When I run the query, I get an error (FUNCTION example_function already exists).

Is it possible to call functions from HeidiSQL’s query window? If so, how to do it?

Sponsor our Newsletter | Privacy Policy | Terms of Service