16.20 - Typical Use for COMMENT - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Detailed Topics

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1184-162K
Language
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.