# Question concerning function call from HeidiSQL

**URL:** <https://www.phphelp.com/t/question-concerning-function-call-from-heidisql/28144>\
**Category:** General Database (Oracle, SQL Server, etc)\
**Created:** [January 21, 2019, 1:59pm UTC](https://www.phphelp.com/t/question-concerning-function-call-from-heidisql/28144 "2019-01-21T13:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkm](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/49beb7/32.png) [@pkm](https://www.phphelp.com/u/pkm)\
**Post date:** [January 21, 2019, 1:59pm UTC](https://www.phphelp.com/t/question-concerning-function-call-from-heidisql/28144/1 "2019-01-21T13:59:32Z")

</div>

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?
