15.10 - RENAME FUNCTION (External Form) - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

prodname
Teradata Database
vrm_release
15.10
created_date
December 2015
category
Programming Reference
featnum
B035-1144-151K

Purpose

Renames either the overloaded calling function name or specific function name for an external function.

Required Privileges

You must have both of the following privileges to rename an external UDF.

  • DROP FUNCTION on the external UDF or its containing database.
  • CREATE FUNCTION on the database that contains the external UDF.

If the function is a row-level security UDF, you must also have the CONSTRAINT DEFINITION privilege to execute RENAME FUNCTION.

Before renaming a row-level security UDF, you must use ALTER CONSTRAINT to drop or replace the UDF in any CONSTRAINT objects that specify the UDF.

Syntax