15.10 - Example: Commenting on an SQL Function - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
SQL_DDL_15_10.ditamap
dita:ditavalPath
ft:empty

This statement defines a comment on the SQL function SpecificUDF1. Note that you must specify a specific UDF name.

     COMMENT ON FUNCTION SpecificUDF1 
     AS 'This is an SQL user-defined function';

Because the object kind for this request is FUNCTION, you must specify the keyword FUNCTION for the object kind when you code it.