Modifies an existing function. Include the entire modified function in the ALTER FUNCTION statement.
Syntax 1
ALTER FUNCTION [ owner.]function-name function-definition function-definition: CREATE FUNCTION syntax
Syntax 2
ALTER FUNCTION [ owner.]function-name SET HIDDEN
Syntax 3
ALTER FUNCTION [ owner.]function-name RECOMPILE
Existing permissions on the function are maintained and do not have to be reassigned. If a DROP FUNCTION and CREATE FUNCTION were carried out, execute permissions must be reassigned.