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

Subscribe to our news:
Partners
Testimonials
Kym Harper : "Beautifully presented tools (and web site) and great service. I will be sending links to many other individuals who should be interested. Wishing you every continued success and thank you again".
Rati Dzidziguri: "I'm working on development of ERP and CRM software and during the process of creation of those products I have tried lots of solutions by the only solution I would call as an user friendly professional and with many other epithets is MySQL Maestro and all Maestro toolkits".

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