domingo, 9 de septiembre de 2012

UDF Solution for MySQL in Windows 7


User-Defined functions (UDF) are functions in MySQL that behaves just like a native (included in the core) of MySQL, such as MAX() or SUM() functions. The main advantage is that UDFs are much faster than stored procedures and the usage is exactly the same. The disadvantage is that UDF are written in C or C++, so it is necessary to compile separately and then install it in MySql. This tutorial is about how to create a new solution for compiling UDFs in x64 and x86 machines and how to install it in MySQL.