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

Subscribe to our news:
Partners
Testimonials
Peter W Rasmussen: "Just checking out on MySQL Maestro - really nice product".
Joe Rose: "SQL Maestro for MySQL is a great program. I never had any glitch's. It is so easy to use. I made the class work much easier".

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