Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners
Testimonials
Tad Stephens: "I think this is a great product and your quick and helpful reply has shown me the support is there as well. I will purchasing my license today".
Adam Allen: "I just have to say WOW!!! I'm so glad that you guys have developed something that is so useful for MySql. I am able to graphically view my tables, and I don't even have to think about my queries because I can visually design them. I just stumbled upon this, and I'm already very excited about it".

More

Add your opinion

SQL Maestro for MySQL online help

Prev Return to chapter overview Next

UDFs

There are two ways to add a new function to MySQL: to create user-defined function (UDF), a function compiled as object file and then added to and removed from the server dynamically, or to add function as native (built-in) MySQL function. Unlike to UDFs, native functions are compiled into the mysql server and become available on a permanent basis.

 

 

New UDFs are created within Create UDF Wizard. In order to run this wizard you should either

 

select the UDFs list or any object from that list and then use the Create New UDF item from the popup menu

or

open the server in Server Editor and the UDFs tab there and press Insert or select the Create New UDF item from the popup menu (Alternatively, use the corresponding link of the Navigation Bar).

 

 

 

UDFs are edited within UDF Editor. In order to open the editor you should either

 

select the UDF for editing in the explorer tree (type the first letters of the UDF name for quick search);
select the Edit UDF item from the popup menu

or

open the server in Server Editor and the UDFs tab there;
select the UDF to edit;
press the Enter key or select the Edit UDF item from the popup menu (alternatively, you can use the corresponding link of the Navigation Bar).

 

 

 

To drop the existing UDF:

 

select the UDF to drop in the explorer tree;
select the Drop UDF item from the popup menu

or

open the server in Server Editor and the UDFs tab there;
select the UDF to drop;
press the Delete key or select the Drop UDF item from the popup menu (alternatively, you may use the corresponding link of the Navigation Bar)

 

and confirm dropping in the dialog window.

 



Prev Return to chapter overview Next