MySQL 5.7 Reference Manual Including MySQL NDB Cluster 7.5 and NDB Cluster 7.6

13.1.13 CREATE FUNCTION Statement

The CREATE FUNCTION statement is used to create stored functions and loadable functions: