COMMENT ON
Adds a comment to a metadata object
DSQL
COMMENT ON <object> IS {'sometext' | NULL} <object> ::= {DATABASE | SCHEMA} | <basic-type> objectname | USER username [USING PLUGIN pluginname] | COLUMN relationname.fieldname | [{PROCEDURE | FUNCTION}] PARAMETER [packagename.]routinename.paramname | {PROCEDURE | [EXTERNAL] FUNCTION} [package_name.]routinename | [GLOBAL] MAPPING mappingname <basic-type> ::= CHARACTER SET | COLLATION | DOMAIN | EXCEPTION | FILTER | GENERATOR | INDEX | PACKAGE | ROLE | SEQUENCE | TABLE | TRIGGER | VIEW
Parameter | Description |
---|---|
sometext |
Comment text |
basic-type |
Metadata object type |
objectname |
Metadata object name |
username |
Username |
pluginname |
User manager plugin name |
relationname |
Name of table or view |
fieldname |
Name of the column |
package_name |
Name of the package |
routinename |
Name of stored procedure or function |
paramname |
Name of a stored procedure or function parameter |
mappingname |
Name of a mapping |
The COMMENT ON
statement adds comments for database objects (metadata).Comments are saved to the RDB$DESCRIPTION
column of the corresponding system tables.Client applications can view comments from these fields.
Note
|
|
Warning
|
Comments on users are visible to that user through the |