Using the COMMENT Statement | Teradata Vantage - 17.10 - Typical Use for COMMENT - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)
The COMMENT statement is typically used in conjunction with a CREATE statement such as CREATE TABLE, CREATE METHOD, or CREATE TYPE to describe the:
  • Newly created database object.
  • Definition for a method (UDM) or user-defined data type (UDT).

Note that you cannot place comments on indexes, so you cannot use this statement to place comment strings on hash, join, or secondary indexes.