Creating User-Defined Functions

You use the CREATE FUNCTION statement to create user-defined functions. However, you must have RESOURCE authority.

See SQL Anywhere Server - SQL Usage > Stored procedures and triggers > Using procedures, triggers, and batches > Introduction to user-defined functions > Creating user-defined functions.

Note: This reference points to SQL Anywhere documentation.

For a complete description of the CREATE FUNCTION syntax, including performance considerations and differences between SQL Anywhere and IQ, see Reference: Statements and Options > SQL Statements > CREATE FUNCTION Statement.