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

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-24
dita:mapPath
jpx1556733107962.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™
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.