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.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
imq1591724555718.ditamap
dita:ditavalPath
imq1591724555718.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.