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.