<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – COMMENT ON statements</title>
    <link>/en/sql-reference/statements/comment-on-statements/</link>
    <description>Recent content in COMMENT ON statements on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/sql-reference/statements/comment-on-statements/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Sql-Reference: COMMENT ON AGGREGATE FUNCTION</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-aggregate-function/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-aggregate-function/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on an aggregate function. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON AGGREGATE FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function&lt;/span&gt; (&lt;span class=&#34;code-variable&#34;&gt;function-args&lt;/span&gt;) IS { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL };
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;function&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the aggregate function with which to associate the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;function-args&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The function arguments.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the comment text to add. If a comment already exists for this function, this overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the &lt;code&gt;APPROXIMATE_MEDIAN(x FLOAT)&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON AGGREGATE FUNCTION APPROXIMATE_MEDIAN(x FLOAT) IS &amp;#39;alias of APPROXIMATE_PERCENTILE with 0.5 as its parameter&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;APPROXIMATE_MEDIAN(x FLOAT)&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON AGGREGATE FUNCTION APPROXIMATE_MEDIAN(x FLOAT) IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON ANALYTIC FUNCTION</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-analytic-function/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-analytic-function/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on an analytic function. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON ANALYTIC FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function&lt;/span&gt; (&lt;span class=&#34;code-variable&#34;&gt;function-args&lt;/span&gt;) IS { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL };
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;function&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the analytic function with which to associate the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;function-args&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The function arguments.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the comment text to add. If a comment already exists for this function, this overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the user-defined &lt;code&gt;an_rank()&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON ANALYTIC FUNCTION an_rank() IS &amp;#39;built from the AnalyticFunctions library&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the user-defined &lt;code&gt;an_rank()&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON ANALYTIC FUNCTION an_rank() IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON COLUMN</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-column/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-column/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a column in a table or projection. Each object can have one comment. Comments are stored in the &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt; system table.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON COLUMN [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;object&lt;/span&gt;.&lt;span class=&#34;code-variable&#34;&gt;column&lt;/span&gt; IS {&amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;object&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the table or projection containing the column.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;column&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the column to which the comment applies.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt; &lt;code&gt;| NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Comment text to add, or NULL to remove an existing comment. The new value replaces any existing comment for this column.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment for a table column:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;COMMENT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ON&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;COLUMN&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;store&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;store_sales_fact&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;transaction_time&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;IS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;GMT&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;You can also add comments to columns in projections:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;COMMENT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ON&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;COLUMN&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;customer_dimension_vmart_node01&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;customer_name&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;IS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;Last name only&amp;#39;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To remove a comment, specify NULL:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sql&#34; data-lang=&#34;sql&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;o&#34;&gt;=&amp;gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;COMMENT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ON&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;COLUMN&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;store&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;store_sales_fact&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;transaction_time&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;IS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;NULL&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON CONSTRAINT</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-constraint/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-constraint/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a constraint. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON CONSTRAINT &lt;span class=&#34;code-variable&#34;&gt;constraint&lt;/span&gt; ON [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;table&lt;/span&gt; IS ... {&amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL };
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;constraint&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the constraint associated with the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database.&lt;/code&gt;&lt;/em&gt;&lt;code&gt;]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;table&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the table constraint with which to associate a comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the comment text to add. If a comment already exists for this constraint, this comment overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the &lt;code&gt;constraint_x&lt;/code&gt; constraint on the promotion_dimension table:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON CONSTRAINT constraint_x ON promotion_dimension IS &amp;#39;Primary key&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;constraint_x&lt;/code&gt; constraint on the promotion_dimension table:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON CONSTRAINT constraint_x ON promotion_dimension IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON FUNCTION</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-function/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-function/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a function. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function&lt;/span&gt; (&lt;span class=&#34;code-variable&#34;&gt;function-args&lt;/span&gt;) IS { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL };
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;function&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the function with which to associate the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;function-args&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The function arguments.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the comment text to add. If a comment already exists for this function, this overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the &lt;code&gt;macros.zerowhennull (x INT)&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON FUNCTION macros.zerowhennull(x INT) IS &amp;#39;Returns a 0 if not NULL&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;macros.zerowhennull (x INT)&lt;/code&gt; function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON FUNCTION macros.zerowhennull(x INT) IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON LIBRARY</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-library/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-library/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a library . Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON LIBRARY [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;library&lt;/span&gt; IS {&amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;library&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the library associated with the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the comment text to add. If a comment already exists for this library, this comment overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the library &lt;code&gt;MyFunctions:&lt;/code&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON LIBRARY MyFunctions IS &amp;#39;In development&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the library &lt;code&gt;MyFunctions:&lt;/code&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON LIBRARY MyFunctions IS NULL;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON NODE</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-node/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-node/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a node. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Dropping an object drops all comments associated with the object.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON NODE &lt;span class=&#34;code-variable&#34;&gt;node-name&lt;/span&gt; IS  { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL }
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;node-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the node associated with the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the comment text to add. If a comment already exists for this node, this comment overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment for the &lt;code&gt;initiator node&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON NODE initiator IS &amp;#39;Initiator node&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;initiator node&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON NODE initiator IS NULL;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON PROJECTION</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-projection/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-projection/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a projection. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Dropping an object drops all comments associated with the object.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON PROJECTION [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;projection&lt;/span&gt; IS { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL }
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;projection&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the projection associated with the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the text of the comment to add. If a comment already exists for this projection, the comment you enter here overwrites the previous comment.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the &lt;code&gt;customer_dimension_vmart_node01&lt;/code&gt; projection:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON PROJECTION customer_dimension_vmart_node01 IS &amp;#39;Test data&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;customer_dimension_vmart_node01&lt;/code&gt; projection:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON PROJECTION customer_dimension_vmart_node01 IS NULL;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON SCHEMA</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-schema/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-schema/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a schema. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON SCHEMA &lt;span class=&#34;code-variable&#34;&gt;schema-name&lt;/span&gt; IS {&amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;schema-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The schema associated with the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Text of the comment to add. If a comment already exists for this schema, the comment you enter here overwrites the previous comment.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the &lt;code&gt;public&lt;/code&gt; schema:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON SCHEMA public  IS &amp;#39;All users can access this schema&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;public&lt;/code&gt; schema.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON SCHEMA public IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON SEQUENCE</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-sequence/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-sequence/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a sequence. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON SEQUENCE [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;sequence&lt;/span&gt; IS { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL }
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;sequence&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the sequence associated with the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the text of the comment to add. If a comment already exists for this sequence, this comment overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the sequence called prom_seq.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON SEQUENCE prom_seq IS &amp;#39;Promotion codes&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the prom_seq sequence.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON SEQUENCE prom_seq IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON TABLE</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-table/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-table/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a table. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON TABLE [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;table&lt;/span&gt; IS { &amp;#39;comment&amp;#39; | NULL }
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;table&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the table with which to associate the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the text of the comment to add. Enclose the text of the comment within single-quotes. If a comment already exists for this table, the comment you enter here overwrites the previous comment.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes a previously added comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the promotion_dimension table:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON TABLE promotion_dimension IS &amp;#39;2011 Promotions&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the promotion_dimension table:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON TABLE promotion_dimension IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON TRANSFORM FUNCTION</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-transform-function/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-transform-function/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a user-defined transform function. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON TRANSFORM FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;tfunction&lt;/span&gt;
...( [&lt;span class=&#34;code-variable&#34;&gt; tfunction-arg-name&lt;/span&gt; &lt;span class=&#34;code-variable&#34;&gt;tfunction-arg-type&lt;/span&gt; ][,...] ) IS {&amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;tfunction&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the transform function with which to associate the comment.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;tfunction-arg-name  &lt;/span&gt;&lt;span class=&#34;code-variable&#34;&gt;tfunction-arg-type&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The names and data types of one or more transform function arguments. If you supply argument names and types, each type must match the type specified in the library used to create the original transform function.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the comment text to add. If a comment already exists for this transform function, this comment overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment to the &lt;code&gt;macros.zerowhennull (x INT)&lt;/code&gt; UTF function:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON TRANSFORM FUNCTION macros.zerowhennull(x INT) IS &amp;#39;Returns a 0 if not NULL&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;acros.zerowhennull (x INT)&lt;/code&gt; function by using the &lt;code&gt;NULL&lt;/code&gt; option:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON TRANSFORM FUNCTION macros.zerowhennull(x INT) IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: COMMENT ON VIEW</title>
      <link>/en/sql-reference/statements/comment-on-statements/comment-on-view/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/comment-on-statements/comment-on-view/</guid>
      <description>
        
        
        &lt;p&gt;Adds, revises, or removes a comment on a view. Each object can have one comment. Comments are stored in the system table 
&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/comments/#&#34;&gt;COMMENTS&lt;/a&gt;&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;COMMENT ON VIEW [[&lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;view&lt;/span&gt; IS { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;comment&lt;/span&gt;&amp;#39; | NULL }
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;code&gt;[&lt;/code&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;code&gt;.]&lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Database and &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;schema&lt;/a&gt;. The default schema is &lt;code&gt;public&lt;/code&gt;. If you specify a database, it must be the current database.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;view&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the view with which to associate the comment.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;comment&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the text of the comment to add. If a comment already exists for this view, this comment overwrites the previous one.
&lt;p&gt;Comments can be up to 8192 characters in length. If a comment exceeds that limitation, OpenText™ Analytics Database truncates the comment and generates a message.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes an existing comment.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: object owner&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example adds a comment from the &lt;code&gt;curr_month_ship&lt;/code&gt; view:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON VIEW curr_month_ship IS &amp;#39;Shipping data for the current month&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example removes a comment from the &lt;code&gt;curr_month_ship&lt;/code&gt; view:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; COMMENT ON VIEW curr_month_ship IS NULL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
