Icon RENAME FUNCTION

Renames an existing function.

Syntax
RENAME FUNCTION <Name> TO <Name>

Usage
Use this statement to rename a function in a database.

Warning Renaming a function can cause other jobs, functions, procedures, views, triggers, constraints, or column defaults to generate an error if they refer to the function being renamed.

Examples
-- The following statement renames the LookupTaxRate
-- function to LookupRate.

RENAME FUNCTION "LookupTaxRate" TO "LookupRate"

Required Privileges
The current user must be granted the ALTER privilege on the current database in order to execute this statement. Please see the User Security topic for more information.

SQL 2003 Standard Deviations
This statement deviates from the SQL 2003 standard in the following ways:

DeviationDetails
ExtensionThis SQL statement is an ElevateDB extension.
Image