COMMENT Syntax
Parameters
<object type>
<object type>
Specifies the type of object to which the comment will be applied. The following types are
supported:
| Type | Description |
|---|---|
SCHEMA | Apply a schema-level comment; can be viewed in the ki_catalog.ki_schemas Kinetica catalog table |
TABLE | Apply a table-level comment; can be viewed in the ki_catalog.ki_objects Kinetica catalog table |
VIEW | Apply a view-level comment; can be viewed in the ki_catalog.ki_objects Kinetica catalog table |
COLUMN | Apply a column-level comment; can be viewed in the ki_catalog.ki_columns Kinetica catalog table |
PROCEDURE | Apply a procedure-level comment; can be viewed in the ki_catalog.ki_objects Kinetica catalog table |
USER | Apply a user-level comment; can be viewed in the ki_catalog.ki_users_and_roles Kinetica catalog table |
ROLE | Apply a role-level comment; can be viewed in the ki_catalog.ki_users_and_roles Kinetica catalog table |
<object name>
<object name>
Name of the object to which the comment will be applied; must adhere to the supported
naming criteria
<comment text>
<comment text>
Text of the comment to apply.
Examples
For example, to apply a comment to a column in-line with the containing table creation:In-Line Column Comment Example
Post-Creation Column Comment Example
List Comments
To list the comments for users & roles:List User/Role Comments
List Schema Comments
List Table/View/Procedure Comments
List Column Comments