15.10 - Example: Commenting on an SQL Function - 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

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.