<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – ALTER statements</title>
    <link>/en/sql-reference/statements/alter-statements/</link>
    <description>Recent content in ALTER statements on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/sql-reference/statements/alter-statements/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Sql-Reference: ALTER ACCESS POLICY</title>
      <link>/en/sql-reference/statements/alter-statements/alter-access-policy/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-access-policy/</guid>
      <description>
        
        
        &lt;p&gt;Performs one of the following actions on existing access policies:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Modify an access policy by changing its expression, and by enabling/disabling the policy.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copy an access policy from one table to another.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;Modify policy:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER ACCESS POLICY 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;
   { FOR COLUMN &lt;span class=&#34;code-variable&#34;&gt;column&lt;/span&gt; [ &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt; ] | FOR ROWS [ WHERE &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt; ] } { GRANT TRUSTED } { ENABLE | DISABLE }
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Copy policy:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER ACCESS POLICY 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;
   { FOR COLUMN &lt;span class=&#34;code-variable&#34;&gt;column&lt;/span&gt; | FOR ROWS } COPY TO TABLE &lt;span class=&#34;code-variable&#34;&gt;table&lt;/span&gt;;
&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;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;&lt;/code&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 that contains the access policy you want to enable, disable, or copy.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;FOR COLUMN &lt;/code&gt;&lt;em&gt;&lt;code&gt;column&lt;/code&gt;&lt;/em&gt;&lt;code&gt; [&lt;/code&gt;&lt;em&gt;&lt;code&gt;expression&lt;/code&gt;&lt;/em&gt;&lt;code&gt;]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Replaces the access policy expression that was previously set for this column. Omit &lt;em&gt;&lt;code&gt;expression&lt;/code&gt;&lt;/em&gt; from the &lt;code&gt;FOR COLUMN&lt;/code&gt; clause in order to enable or disable this policy only, or copy it to another table.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;FOR ROWS [WHERE &lt;/code&gt;&lt;em&gt;&lt;code&gt;expression&lt;/code&gt;&lt;/em&gt;&lt;code&gt;]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Replaces the row access policy expression that was previously set for this table. Omit &lt;code&gt;WHERE &lt;/code&gt;&lt;em&gt;&lt;code&gt;expression&lt;/code&gt;&lt;/em&gt; from the &lt;code&gt;FOR ROWS&lt;/code&gt; clause in order to enable or disable this policy only, or copy it to another table.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;GRANT TRUSTED&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies that GRANT statements take precedence over the access policy in determining whether users can perform DML operations on the target table. If omitted, users can only modify table data if the access policy allows them to see the stored data in its original, unaltered state. For more information, see &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/access-policies/access-policies-and-dml-operations/#&#34;&gt;Access policies and DML operations&lt;/a&gt;.&lt;/p&gt;

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
GRANT TRUSTED only affects DML operations and does not enable users to see data that the access policy would otherwise mask. Specifying this option may allow users with certain grants to update data that they cannot see.
&lt;/div&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ENABLE | DISABLE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Indicates whether to enable or disable the access policy at the table level.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;COPY TO TABLE &lt;/code&gt;&lt;em&gt;&lt;code&gt;tablename&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Copies the existing access policy to the specified table. The copied access policy includes its enabled/disabled and GRANT TRUSTED statuses.
&lt;p&gt;The following requirements apply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Copying a column access policy:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The target table must have a column of the same name and compatible data type.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The target colum must not have an access policy.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Copying a row access policy: The target table must not have an access policy.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;h3 id=&#34;modify-access-policy&#34;&gt;Modify access policy&lt;/h3&gt;
&lt;p&gt;Non-superuser: Ownership of the table&lt;/p&gt;
&lt;h3 id=&#34;copy-access-policy&#34;&gt;Copy access policy&lt;/h3&gt;
&lt;p&gt;Non-superuser: Ownership of the source and destination tables&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/access-policies/managing-access-policies/#&#34;&gt;Managing access policies&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-access-policy/#&#34;&gt;CREATE ACCESS POLICY&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER ARCHIVE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-archive/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-archive/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Eon Mode only&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Modifies an existing &lt;a href=&#34;../../../../en/eon/revive-eon-db/in-db-restore-points/&#34;&gt;restore point archive&lt;/a&gt; in one of the following ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Assign a new owner to the archive.&lt;/li&gt;
&lt;li&gt;Adjust the maximum number of restore points an archive can hold.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER ARCHIVE &lt;span class=&#34;code-variable&#34;&gt;archive-name&lt;/span&gt; { OWNER TO &lt;span class=&#34;code-variable&#34;&gt;user-name&lt;/span&gt; | LIMIT &lt;span class=&#34;code-variable&#34;&gt;max-restore-points&lt;/span&gt; }
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;archive-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the archive to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;user-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Reassign ownership of the archive to &lt;em&gt;user-name&lt;/em&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;LIMIT &lt;/code&gt;&lt;em&gt;&lt;code&gt;max-restore-points&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Alters the maximum number of restore points that can be stored in the archive. If an archive contains a greater number of restore points than the new &lt;em&gt;&lt;code&gt;max-restore-points&lt;/code&gt;&lt;/em&gt; limit, the oldest restore point in the archive is deleted until the number of restore points equals &lt;em&gt;&lt;code&gt;max-restore-points&lt;/code&gt;&lt;/em&gt;. The default value is &#39;unlimited&#39;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser or archive owner&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Change the restore point limit of the &lt;code&gt;vertica-restore&lt;/code&gt; archive to 5:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ARCHIVE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;vertica&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;restore&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;LIMIT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;5&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;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/statements/create-statements/create-archive/#&#34;&gt;CREATE ARCHIVE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-archive/#&#34;&gt;DROP ARCHIVE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/save-restore-point/#&#34;&gt;SAVE RESTORE POINT TO ARCHIVE&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER AUTHENTICATION</title>
      <link>/en/sql-reference/statements/alter-statements/alter-authentication/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-authentication/</guid>
      <description>
        
        
        &lt;p&gt;Modifies the settings for a specified authentication method.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER AUTHENTICATION &lt;span class=&#34;code-variable&#34;&gt;auth_record&lt;/span&gt; {
   | { ENABLE | DISABLE }
   | { LOCAL | HOST [ { TLS | NO TLS } ] &lt;span class=&#34;code-variable&#34;&gt;host_ip_address&lt;/span&gt; }
   | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new_auth_record_name&lt;/span&gt;
   | METHOD &lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;
   | SET &lt;span class=&#34;code-variable&#34;&gt;param&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;[,...]
   | PRIORITY &lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;
   | [ [ NO ] FALLTHROUGH ]
}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Parameter Name&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;auth_record&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Name of the authentication method to alter.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Type:&lt;/strong&gt; VARCHAR&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;ENABLE | DISABLE&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Enable or disable the specified authentication method.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; Enabled&lt;/p&gt;
&lt;p&gt;When you perform an upgrade and use Kerberos authentication, you must manually set the authentication to ENABLE as it is disabled by default.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;ENFORCEMFA&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Enable or disable multi-factor authentication dynamically. Set the authentication to &lt;code&gt;true&lt;/code&gt; to enable multi-factor authentication dynamically.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; false&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;LOCAL | HOST [ { TLS | NO TLS }&lt;/code&gt; &lt;code&gt;host_ip_address&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;








&lt;p&gt;Specify that the authentication method applies to local or remote (&lt;code&gt;HOST&lt;/code&gt;) connections.&lt;/p&gt;
&lt;p&gt;For authentication methods that use LDAP, specify whether or not LDAP uses Transport Layer Security (TLS).&lt;/p&gt;
&lt;p&gt;For remote (&lt;code&gt;HOST&lt;/code&gt;) connections, you must specify the IP address of the host from which the user or application is connecting, VARCHAR.&lt;/p&gt;
&lt;p&gt;OpenText™ Analytics Database supports both IPv4 and IPv6 addresses.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;RENAME TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new_auth_record_name&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Rename the authentication record.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Type:&lt;/strong&gt; VARCHAR&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;METHOD &lt;/code&gt;&lt;em&gt;&lt;code&gt;value&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;
The authentication method you are altering.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;SET &lt;/code&gt;&lt;em&gt;&lt;code&gt;param&lt;/code&gt;&lt;/em&gt;&lt;code&gt;=&lt;/code&gt;&lt;em&gt;&lt;code&gt;value&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;


Set a parameter name and value for the authentication method that you are creating. This is required for &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/ldap-authentication/ldap-authentication-parameters/&#34;&gt;LDAP&lt;/a&gt;, &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/ident-authentication/&#34;&gt;Ident&lt;/a&gt;, and &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/oauth-2-0-authentication/oauth-authentication-parameters/&#34;&gt;OAuth&lt;/a&gt; authentication methods.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PRIORITY &lt;/code&gt;&lt;em&gt;&lt;code&gt;value&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;










&lt;p&gt;If the user is associated with multiple authentication methods, the priority value specifies which authentication method the database tries first.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; 0&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Type:&lt;/strong&gt; INTEGER&lt;/p&gt;
&lt;p&gt;Greater values indicate higher priorities. For example, a priority of 10 is higher than a priority of 5; priority 0 is the lowest possible value.&lt;/p&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/authentication-record-priority/#&#34;&gt;Authentication record priority&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;[ [ NO ] FALLTHROUGH ]&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


Specifies whether to enable authentication fallthrough. For details, see &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/#&#34;&gt;Client authentication&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Enabling and Disabling Authentication Methods&lt;/p&gt;
&lt;p&gt;This example uses ALTER AUTHENTICATION to disable the &lt;code&gt;v_ldap&lt;/code&gt; authentication method and then enable it again:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER AUTHENTICATION v_ldap DISABLE;
=&amp;gt; ALTER AUTHENTICATION v_ldap ENABLE;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Renaming Authentication Methods&lt;/p&gt;
&lt;p&gt;This example renames the &lt;code&gt;v_kerberos&lt;/code&gt; authentication method to &lt;code&gt;K5&lt;/code&gt;. All users who have been granted the &lt;code&gt;v_kerberos&lt;/code&gt; authentication method now have the &lt;code&gt;K5&lt;/code&gt; method granted instead.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER AUTHENTICATION v_kerberos RENAME TO K5;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Modifying Authentication Parameters&lt;/p&gt;
&lt;p&gt;This example sets the system user for &lt;code&gt;ident1&lt;/code&gt; authentication to &lt;code&gt;user1&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE AUTHENTICATION ident1 METHOD &amp;#39;ident&amp;#39; LOCAL;
=&amp;gt; ALTER AUTHENTICATION ident1 SET system_users=&amp;#39;user1&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;When you set or modify LDAP or Ident parameters using ALTER AUTHENTICATION, OpenText™ Analytics Database validates them.&lt;/p&gt;
&lt;p&gt;This example changes the IP address and specifies the parameters for an LDAP authentication method named &lt;code&gt;Ldap1&lt;/code&gt;. Specify the bind parameters for the LDAP server. The database connects to the LDAP server, which authenticates the database client. If authentication succeeds, the database authenticates any users who have been associated with (granted) the &lt;code&gt;Ldap1&lt;/code&gt; authentication method on the designated LDAP server:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE AUTHENTICATION Ldap1 METHOD &amp;#39;ldap&amp;#39; HOST &amp;#39;172.16.65.196&amp;#39;;

=&amp;gt; ALTER AUTHENTICATION Ldap1 SET host=&amp;#39;ldap://172.16.65.177&amp;#39;,
   binddn_prefix=&amp;#39;cn=&amp;#39;, binddn_suffix=&amp;#39;,dc=qa_domain,dc=com&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The next example specifies the parameters for an LDAP authentication method named &lt;code&gt;Ldap2&lt;/code&gt;. Specify the LDAP search and bind parameters. Sometimes, the database does not have enough information to create the distinguished name (DN) for a user attempting to authenticate. In such cases, you must specify to use LDAP search and bind:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE AUTHENTICATION Ldap2 METHOD &amp;#39;ldap&amp;#39; HOST &amp;#39;172.16.65.196&amp;#39;;
=&amp;gt; ALTER AUTHENTICATION Ldap2 SET basedn=&amp;#39;dc=qa_domain,dc=com&amp;#39;,
   binddn=&amp;#39;cn=Manager,dc=qa_domain,
   dc=com&amp;#39;,search_attribute=&amp;#39;cn&amp;#39;,bind_password=&amp;#39;secret&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Changing the Authentication Method&lt;/p&gt;
&lt;p&gt;This example changes the &lt;code&gt;localpwd&lt;/code&gt; authentication from hash to trust:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE AUTHENTICATION localpwd METHOD &amp;#39;hash&amp;#39; LOCAL;
=&amp;gt; ALTER AUTHENTICATION localpwd METHOD &amp;#39;trust&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Set Multiple Realms&lt;/p&gt;
&lt;p&gt;This example sets another realm for the authentication method krb_local:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;
=&amp;gt; ALTER AUTHENTICATION krb_local set realm = &amp;#39;COMPANY.COM&amp;#39;;
&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/statements/create-statements/create-authentication/#&#34;&gt;CREATE AUTHENTICATION&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-authentication/#&#34;&gt;DROP AUTHENTICATION&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-authentication/#&#34;&gt;GRANT (authentication)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/revoke-statements/revoke-authentication/#&#34;&gt;REVOKE (authentication)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/client-auth/#&#34;&gt;CLIENT_AUTH&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER CA BUNDLE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-ca-bundle/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-ca-bundle/</guid>
      <description>
        
        
        
&lt;div class=&#34;admonition deprecated&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Deprecated&lt;/h4&gt;

CA bundles are only usable with certain deprecated parameters in &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-notifier/&#34;&gt;Kafka notifiers&lt;/a&gt;. You should prefer using &lt;a href=&#34;../../../../en/security-and-authentication/tls-protocol/tls-overview/tls-configs/#&#34;&gt;TLS configurations&lt;/a&gt; and the TLS CONFIGURATION parameter for notifiers instead.

&lt;/div&gt;

&lt;p&gt;Adds and removes certificates from or changes the owner of a certificate authority (CA) bundle.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER CA BUNDLE &lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt;
        [ADD CERTIFICATES &lt;span class=&#34;code-variable&#34;&gt;ca_cert&lt;/span&gt;[, &lt;span class=&#34;code-variable&#34;&gt;ca_cert&lt;/span&gt;[, ...]]
        [REMOVE CERTIFICATES &lt;span class=&#34;code-variable&#34;&gt;ca_cert&lt;/span&gt;[, &lt;span class=&#34;code-variable&#34;&gt;ca_cert&lt;/span&gt;[, ...]]
        [OWNER TO &lt;span class=&#34;code-variable&#34;&gt;user&lt;/span&gt;]
&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;name&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the CA bundle.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ca_cert&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the CA certificate to add or remove from the bundle.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;user&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The name of a database user.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Ownership of the CA bundle.&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/security-and-authentication/tls-protocol/tls-overview/managing-ca-bundles/#&#34;&gt;Managing CA bundles&lt;/a&gt;.&lt;/p&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/statements/create-statements/create-ca-bundle/#&#34;&gt;CREATE CA BUNDLE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-ca-bundle/#&#34;&gt;DROP CA BUNDLE&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER DATA LOADER</title>
      <link>/en/sql-reference/statements/alter-statements/alter-data-loader/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-data-loader/</guid>
      <description>
        
        
        &lt;p&gt;Changes the properties of a data loader created with &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-data-loader/#&#34;&gt;CREATE DATA LOADER&lt;/a&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;ALTER DATA LOADER [&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt; {
   SET TO &lt;span class=&#34;code-variable&#34;&gt;copy-statement&lt;/span&gt; 
 | RETRY LIMIT { NONE | DEFAULT | &lt;span class=&#34;code-variable&#34;&gt;limit&lt;/span&gt; }
 | RETENTION INTERVAL &lt;span class=&#34;code-variable&#34;&gt;monitoring-retention&lt;/span&gt;
 | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt; 
 | TRIGGERED BY &lt;span class=&#34;code-variable&#34;&gt;integration-json&lt;/span&gt;
 | DROP TRIGGER [IF EXISTS]
 | OWNER TO &lt;span class=&#34;code-variable&#34;&gt;user&lt;/span&gt;
 | ENABLE | DISABLE
}
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Schema containing the data loader. The default schema is &lt;code&gt;public&lt;/code&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the data loader to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;copy-statement&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new COPY statement that the loader executes. The FROM clause typically uses a glob.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RETRY LIMIT { NONE | DEFAULT | &lt;/code&gt;&lt;em&gt;&lt;code&gt;limit&lt;/code&gt;&lt;/em&gt; &lt;code&gt; }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Maximum number of times to retry a failing file. Each time the data loader is executed, it attempts to load all files that have not yet been successfully loaded, up to this per-file limit. If set to DEFAULT, at load time the loader uses the value of the &lt;a href=&#34;../../../../en/sql-reference/config-parameters/general-parameters/#DataLoaderDefaultRetryLimit&#34;&gt;DataLoaderDefaultRetryLimit&lt;/a&gt; configuration parameter.
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; &lt;code&gt;DEFAULT&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RETENTION INTERVAL &lt;/code&gt;&lt;em&gt;&lt;code&gt;monitoring-retention&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;How long to keep records in the events table. &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/data-loader-events/#&#34;&gt;DATA_LOADER_EVENTS&lt;/a&gt; records events for all data loaders, but each data loader has its own retention interval.
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; &lt;code&gt;14 days&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;New name for the data loader.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;TRIGGERED BY&lt;/code&gt; &lt;em&gt;&lt;code&gt;integration-json&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;New external trigger for the data loader. For details on the JSON fields, see &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-data-loader/#&#34;&gt;CREATE DATA LOADER&lt;/a&gt;. Before altering the trigger you must disable the data loader using DISABLE. After making the change, enable it again using ENABLE.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;DROP TRIGGER [IF EXISTS]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Remove the trigger from this loader. You must first disable the data loader using DISABLE. After making the change, enable it again using ENABLE.
&lt;p&gt;If the data loader does not have a trigger and you do not include IF EXISTS, the statement returns an error.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;user&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;New owner for the data loader.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ENABLE | DISABLE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Whether the data loader can be executed. Calling &lt;a href=&#34;../../../../en/sql-reference/statements/execute-data-loader/#&#34;&gt;EXECUTE DATA LOADER&lt;/a&gt; on a disabled data loader returns an error. When created, data loaders with triggers are disabled by default; all others are enabled by default. If a data loader has a trigger, you must disable it before dropping it or altering the trigger.
&lt;p&gt;If a data loader is disabled while it is executing, OpenText™ Analytics Database finishes the current execution.&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:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;USAGE on the schema.&lt;/li&gt;
&lt;li&gt;Owner or ALTER privilege on the data loader.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;To use data loader commands with the TRIGGERED BY clause, you need to have READ permissions to the source storage location or (pseudo)superuser privileges.&lt;/li&gt;
&lt;li&gt;To use ALTER DATA LOADER commands with the TRIGGERED BY clause, you need owner or (pseudo)superuser privileges.&lt;/li&gt;
&lt;/ul&gt;


&lt;/div&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/data-load/automatic-load/#&#34;&gt;Automatic load&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-data-loader/#&#34;&gt;CREATE DATA LOADER&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/execute-data-loader/#&#34;&gt;EXECUTE DATA LOADER&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-data-loader/#&#34;&gt;DROP DATA LOADER&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER DATABASE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-db/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-db/</guid>
      <description>
        
        
        &lt;p&gt;Use ALTER DATABASE to perform the following tasks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Drop all &lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/fault-groups/&#34;&gt;fault groups&lt;/a&gt; and their child fault groups from a database.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restore down nodes, and &lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/active-standby-nodes/revert-active-standby-nodes/&#34;&gt;revert active standby&lt;/a&gt; nodes to standby status.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specify the subnet name of a public network to use for &lt;a href=&#34;../../../../en/data-export/db-export-and-import/using-public-and-private-ip-networks/identify-db-or-nodes-used-importexport/&#34;&gt;import/export&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set and clear database &lt;a href=&#34;../../../../en/sql-reference/config-parameters/&#34;&gt;configuration parameters&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To see the current value of a parameter, query system table &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/config-parameters/#&#34;&gt;CONFIGURATION_PARAMETERS&lt;/a&gt; or use &lt;a href=&#34;../../../../en/sql-reference/statements/show-db/#&#34;&gt;SHOW DATABASE&lt;/a&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;ALTER DATABASE &lt;span class=&#34;code-variable&#34;&gt;db-spec&lt;/span&gt; {
      DROP ALL FAULT GROUP
      | EXPORT ON { &lt;span class=&#34;code-variable&#34;&gt;subnet-name &lt;/span&gt;| DEFAULT }
      | RESET STANDBY
      | SET [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;parameter&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt; [,...]
      | CLEAR [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;parameter&lt;/span&gt;[,...]
}
&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;db-spec&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the database to alter, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The database name&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DEFAULT&lt;/code&gt;: The current database&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;DROP ALL FAULT GROUP&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/fault-groups/dropping-fault-groups/&#34;&gt;Drops all fault groups&lt;/a&gt; defined on the specified database.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;EXPORT ON&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the network to use for importing and exporting data, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;subnet-name&lt;/code&gt;&lt;/em&gt;: A subnet of the public network.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DEFAULT&lt;/code&gt;: Specifies to use a private network.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/data-export/db-export-and-import/using-public-and-private-ip-networks/identify-db-or-nodes-used-importexport/#&#34;&gt;Identify the database or nodes used for import/export&lt;/a&gt;, and &lt;a href=&#34;../../../../en/data-export/db-export-and-import/changing-node-export-addresses/#&#34;&gt;Changing node export addresses&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RESET STANDBY&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Enterprise Mode only, restores all down nodes and &lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/active-standby-nodes/revert-active-standby-nodes/&#34;&gt;reverts their replacement&lt;/a&gt; nodes to standby status. If any replaced nodes cannot resume activity, OpenText™ Analytics Database leaves their standby nodes in place.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET [PARAMETER]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Sets the specified parameters.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CLEAR [PARAMETER]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Resets the specified parameters to their default values.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER FAULT GROUP</title>
      <link>/en/sql-reference/statements/alter-statements/alter-fault-group/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-fault-group/</guid>
      <description>
        
        
        &lt;p&gt;Modifies an existing fault group. ALTER FAULT GROUP can perform the following tasks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Add a node to or drop a node from an existing fault group.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add a child fault group to or drop a child fault group from a parent fault group.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Rename a fault group.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER FAULT GROUP &lt;span class=&#34;code-variable&#34;&gt;fault-group-name&lt;/span&gt; {
    | ADD NODE &lt;span class=&#34;code-variable&#34;&gt;node-name&lt;/span&gt;
    | DROP NODE &lt;span class=&#34;code-variable&#34;&gt;node-name&lt;/span&gt;
    | ADD FAULT GROUP &lt;span class=&#34;code-variable&#34;&gt;child-fault-group-name&lt;/span&gt;
    | DROP FAULT GROUP &lt;span class=&#34;code-variable&#34;&gt;child-fault-group-name&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-fault-group-name&lt;/span&gt; }
&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;span class=&#34;code-variable&#34;&gt;fault-group-name&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The existing fault group name you want to modify.

&lt;div class=&#34;alert admonition tip&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Tip&lt;/h4&gt;

For a list of all fault groups defined in the cluster, query the &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/fault-groups/#&#34;&gt;FAULT_GROUPS&lt;/a&gt; system table.

&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;node-name&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The node name you want to add to or drop from the existing (parent) fault group.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;child-fault-group-name&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the child fault group you want to add to or remove from an existing parent fault group.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;new-fault-group-name&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The new name for the fault group you want to rename.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;This example shows how to rename the &lt;code&gt;parent0&lt;/code&gt; fault group to &lt;code&gt;parent100&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER FAULT GROUP parent0 RENAME TO parent100;
ALTER FAULT GROUP
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify the change by querying the &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/fault-groups/#&#34;&gt;FAULT_GROUPS&lt;/a&gt; system table:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT member_name FROM fault_groups;
   member_name
----------------------
v_exampledb_node0003
parent100
mygroup
(3 rows)
&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/statements/create-statements/create-fault-group/#&#34;&gt;CREATE FAULT GROUP&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/fault-groups/#&#34;&gt;FAULT_GROUPS&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/cluster-layout/#&#34;&gt;CLUSTER_LAYOUT&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/fault-groups/#&#34;&gt;Fault groups&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/architecture/enterprise-concepts/high-availability-with-fault-groups/#&#34;&gt;High availability with fault groups&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER FUNCTION statements</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/</guid>
      <description>
        
        
        &lt;p&gt;OpenText™ Analytics Database provides ALTER statements for each type of &lt;a href=&#34;../../../../en/extending/udxs/&#34;&gt;user-defined extension&lt;/a&gt;. Each ALTER statement modifies the metadata of a user-defined function in the database catalog:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
ALTER statement&lt;/th&gt; 

&lt;th &gt;
Extension&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-function-scalar/#&#34;&gt;ALTER FUNCTION (scalar)&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/scalar-functions-udsfs/&#34;&gt;User-defined scalar functions&lt;/a&gt; (UDSFs)&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-aggregate-function/#&#34;&gt;ALTER AGGREGATE FUNCTION&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/aggregate-functions-udafs/&#34;&gt;User-defined aggregate functions&lt;/a&gt; (UDAFs)&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-analytic-function/#&#34;&gt;ALTER ANALYTIC FUNCTION&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/analytic-functions-udanfs/&#34;&gt;User-defined analytic functions&lt;/a&gt; (UDAnF)&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-transform-function/#&#34;&gt;ALTER TRANSFORM FUNCTION&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/transform-functions-udtfs/&#34;&gt;User-defined transform functions&lt;/a&gt; (UDTFs)&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td  colspan=&#34;2&#34; &gt;
ALTER statements for &lt;a href=&#34;../../../../en/extending/developing-udxs/user-defined-load-udl/&#34;&gt;user-defined load&lt;/a&gt;:&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
• &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-source/#&#34;&gt;ALTER SOURCE&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/user-defined-load-udl/user-defined-source/&#34;&gt;Load source functions&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
• &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-filter/#&#34;&gt;ALTER FILTER&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/user-defined-load-udl/user-defined-filter/&#34;&gt;Load filter functions&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
• &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-parser/#&#34;&gt;ALTER PARSER&lt;/a&gt;&lt;/td&gt; 

&lt;td &gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/user-defined-load-udl/user-defined-parser/&#34;&gt;Load parser functions&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;The database also provides &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-function-statements/alter-function-sql/#&#34;&gt;ALTER FUNCTION (SQL)&lt;/a&gt;, which modifies the metadata of a user-defined SQL function.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER HCATALOG SCHEMA</title>
      <link>/en/sql-reference/statements/alter-statements/alter-hcatalog-schema/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-hcatalog-schema/</guid>
      <description>
        
        
        &lt;p&gt;Alters parameter values on a schema that was created with &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-hcatalog-schema/#&#34;&gt;CREATE HCATALOG SCHEMA&lt;/a&gt;. HCatalog schemas are used by the HCatalog Connector to access data stored in a Hive data warehouse. For more information, see &lt;a href=&#34;../../../../en/hadoop-integration/using-hcatalog-connector/#&#34;&gt;Using the HCatalog Connector&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Some parameters cannot be altered after creation. If you need to change one of those values, delete and recreate the schema instead. You can use ALTER HCATALOG SCHEMA to change the following parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;HOSTNAME&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PORT&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;HIVESERVER2_HOSTNAME&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;WEBSERVICE_HOSTNAME&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;WEBSERVICE_PORT&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;WEBHDFS_ADDRESS&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;HCATALOG_CONNECTION_TIMEOUT&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;HCATALOG_SLOW_TRANSFER_LIMIT&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;HCATALOG_SLOW_TRANSFER_TIME&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;SSL_CONFIG&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;CUSTOM_PARTITIONS&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER HCATALOG SCHEMA &lt;span class=&#34;code-variable&#34;&gt;schema-name&lt;/span&gt; SET [&lt;span class=&#34;code-variable&#34;&gt;param&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;]+;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Parameter&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;schema-name&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;


The name of the schema in the OpenText™ Analytics Database catalog to alter. The tables in the Hive database are available through this schema.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;param&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;
The name of the parameter to alter.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;value&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;
The new value for the parameter. You must specify a value; this statement does not read default values from configuration files like &lt;code&gt;CREATE HCATALOG SCHEMA&lt;/code&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;One of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Schema owner&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example shows how to change the Hive metastore hostname and port for the &amp;quot;hcat&amp;quot; schema. In this example, Hive uses High Availability metastore.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER HCATALOG SCHEMA hcat SET HOSTNAME=&amp;#39;thrift://ms1.example.com:9083,thrift://ms2.example.com:9083&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example shows the error you receive if you try to set an unalterable parameter.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER HCATALOG SCHEMA hcat SET HCATALOG_USER=&amp;#39;admin&amp;#39;;
   ERROR 4856: Syntax error at or near &amp;#34;HCATALOG_USER&amp;#34; at character 39
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER ICEBERG NAMESPACE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-iceberg-namespace/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-iceberg-namespace/</guid>
      <description>
        
        
        &lt;p&gt;Iceberg namespaces are supported only in Eon Mode.&lt;/p&gt;
&lt;p&gt;An Iceberg namespace represents the integration point between Vertica and an external Apache Iceberg catalog. The &lt;code&gt;ALTER ICEBERG NAMESPACE&lt;/code&gt; statement allows you to to update the catalog configuration or storage location associated with a namespace without recreating the namespace.
Only namespace‑level properties can be altered. Iceberg databases and tables remain managed by the external catalog and are resolved dynamically at query time.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER ICEBERG NAMESPACE &lt;span class=&#34;code-variable&#34;&gt;namespace_name&lt;/span&gt; SET [&lt;span class=&#34;code-variable&#34;&gt;CATALOG&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;catalog_name&lt;/span&gt;];

ALTER ICEBERG NAMESPACE &lt;span class=&#34;code-variable&#34;&gt;namespace_name&lt;/span&gt; SET [&lt;span class=&#34;code-variable&#34;&gt;LOCATION&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;path&lt;/span&gt;];
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Parameter&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;namespace_name&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;
The name of the existing Iceberg namespace to modify.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;CATALOG&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;
The name of the Iceberg metadata catalog. The supported catalog types are &lt;code&gt;filesystem&lt;/code&gt;, &lt;code&gt;glue&lt;/code&gt;, &lt;code&gt;hive&lt;/code&gt;, and &lt;code&gt;rest&lt;/code&gt;.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;LOCATION&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;
Path to the Iceberg warehouse that contains Iceberg metadata and data subdirectories.&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;rest_auth&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;

The authentication method for the REST catalog which supports either &lt;code&gt;bearerToken&lt;/code&gt; or &lt;code&gt;OAuth2&lt;/code&gt; authentication. Applicable only when CATALOG is &lt;code&gt;rest&lt;/code&gt;. For more information about &lt;code&gt;rest_auth&lt;/code&gt;, see &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-external-table-iceberg/#&#34;&gt;CREATE EXTERNAL TABLE ICEBERG&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;

&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Only superusers can alter Iceberg namespaces.&lt;/li&gt;
&lt;li&gt;Non‑superusers can query Iceberg data if they have appropriate access to the underlying storage.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;notes&#34;&gt;Notes&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Only one property can be altered per statement.&lt;/li&gt;
&lt;li&gt;The namespace must already exist.&lt;/li&gt;
&lt;li&gt;Changing a namespace configuration affects all queries that reference the namespace.&lt;/li&gt;
&lt;li&gt;The Iceberg catalog and storage location must be valid and accessible.&lt;/li&gt;
&lt;li&gt;Altering a namespace does not modify data in external storage.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Change the storage location for the &amp;quot;iceberg_fs&amp;quot; namespace.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER ICEBERG NAMESPACE iceberg_fs SET LOCATION=&amp;#39;/iceberg/finance/financedb&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Change the catalog type of iceberg_namespace_finance namespace with Hive metastore.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER ICEBERG NAMESPACE iceberg_namespace_finance SET CATALOG=&amp;#39;hive&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Create an Iceberg namespace named &amp;quot;sales_namespace_rest&amp;quot; with REST catalog, then verify the catalog configuration, and alter the namespace to update the endpoint.&lt;/p&gt;
&lt;p&gt;Create the namespace with REST catalog.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE ICEBERG NAMESPACE sales_namespace_rest
   WITH 
    CATALOG = &amp;#39;rest&amp;#39;,
    LOCATION = &amp;#39;http://10.10.20.172:19120/iceberg/v1/main&amp;#39;,
    REST_AUTH = &amp;#39;{&amp;#34;bearerToken&amp;#34;: &amp;#34;eyJhbGciOiJSUzI5NiIsInR5cCIgOiBiSldUIiwia2llIiA6ICIzWFRweHB&amp;#34;}&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Verify namespace creation and catalog configuration.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT * FROM v_catalog.iceberg_namespaces;

namespace_id      |  namespace_name      | catalog |                 location                  |                 rest_auth
-------------------+-------------------+---------+------------------------------------------+--------------------------------------------------------------
45035996273855050 | sales_namespace_rest | REST    | http://10.10.20.172:19120/iceberg/v1/main | {&amp;#34;bearerToken&amp;#34;: &amp;#34;eyJhbGciOiJSUzI5NiIsInR5cCIgOiBiSldUIiwia2llIiA6ICIzWFRweHB&amp;#34;}
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Query Data from an Iceberg Table&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT COUNT(*) FROM sales_namespace_rest.sales_rest_db.sales_table;
COUNT
-------     
  9
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Modify namespace configuration: Update the REST endpoint for the namespace.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER ICEBERG NAMESPACE sales_namespace_rest SET LOCATION=&amp;#39;http://10.10.20.161:19120/iceberg/v1/main&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Validate after reconfiguration&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT COUNT(*) FROM sales_namespace_rest.sales_rest_db.sales_table;
COUNT
-------     
  9
(1 row)
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER LIBRARY</title>
      <link>/en/sql-reference/statements/alter-statements/alter-library/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-library/</guid>
      <description>
        
        
        &lt;p&gt;Replaces the library file that is currently associated with a UDx library in the OpenText™ Analytics Database catalog. The database automatically distributes copies of the updated file to all cluster nodes. UDxs defined in the catalog that reference the updated library automatically start using the updated library file. A UDx is considered to be the same if its name and signature match.&lt;/p&gt;
&lt;p&gt;The current and replacement libraries must be written in the same language.

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

If a UDx function that is present in the original library is not present in the updated library, it is automatically dropped. This can result in loss of data if that function is in use, for example if a table depends on it to populate a column.

&lt;/div&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;ALTER 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;name&lt;/span&gt; [DEPENDS &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;depends-path&lt;/span&gt;&amp;#39;] AS &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;path&lt;/span&gt;&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&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;name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of an existing library created with &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-library/#&#34;&gt;CREATE LIBRARY&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;DEPENDS &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;depends-path&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Files or libraries on which this library depends, one or more files or directories on the initiator node file system or other &lt;a href=&#34;../../../../en/sql-reference/file-systems-and-object-stores/&#34;&gt;supported file systems or object stores&lt;/a&gt;. For a directory, end the path entry with a slash (&lt;code&gt;/&lt;/code&gt;), optionally followed by a wildcard (&lt;code&gt;*&lt;/code&gt;). To specify more than one file, separate entries with colons (&lt;code&gt;:&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;If any path entry contain colons, such as a URI, place brackets around the entire DEPENDS path and use double quotes for the individual path elements, as in the following example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;DEPENDS &amp;#39;[&amp;#34;s3://mybucket/gson-2.3.1.jar&amp;#34;]&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To specify libraries with multiple directory levels, see &lt;a href=&#34;#MultiLevelDependencies&#34;&gt;Multi-level Library Dependencies&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;DEPENDS has no effect for libraries written in R. R packages must be installed locally on each node, including external dependencies.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
The performance of CREATE LIBRARY can degrade in Eon Mode, in proportion to the number and depth of dependencies specified by the DEPENDS clause.
&lt;/div&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;AS &lt;/code&gt;&lt;em&gt;&lt;code&gt;path&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The absolute path on the initiator node file system of the replacement library file.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser, or &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/predefined-db-roles/udxdeveloper/#&#34;&gt;UDXDEVELOPER&lt;/a&gt; and CREATE on the schema. Non-superusers must explicitly enable the UDXDEVELOPER role. See &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-library/#&#34;&gt;CREATE LIBRARY&lt;/a&gt; for examples.
&lt;a name=&#34;MultiLevelDependencies&#34;&gt;&lt;/a&gt;
&lt;h2 id=&#34;multi-level-library-dependencies&#34;&gt;Multi-level library dependencies&lt;/h2&gt;
&lt;p&gt;If a DEPENDS clause specifies a library with multiple directory levels, Vertica follows the library path to include all subdirectories of that library. For example, the following CREATE LIBRARY statement enables the UDx library &lt;code&gt;mylib&lt;/code&gt; to import all Python packages and modules that it finds in subdirectories of &lt;code&gt;site-packages&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE LIBRARY mylib AS &amp;#39;/path/to/python_udx&amp;#39; DEPENDS &amp;#39;/path/to/python/site-packages&amp;#39; LANGUAGE &amp;#39;Python&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
DEPENDS can specify Java library dependencies that are up to 100 levels deep.
&lt;/div&gt;
&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;This example shows how to update an already-defined library named &lt;code&gt;myFunctions&lt;/code&gt; with a new file.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER LIBRARY myFunctions AS &amp;#39;/home/dbadmin/my_new_functions.so&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../en/extending/developing-udxs/#&#34;&gt;Developing user-defined extensions (UDxs)&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER LOAD BALANCE GROUP</title>
      <link>/en/sql-reference/statements/alter-statements/alter-load-balance-group/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-load-balance-group/</guid>
      <description>
        
        
        &lt;p&gt;Changes the configuration of a load balance group.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER LOAD BALANCE GROUP &lt;span class=&#34;code-variable&#34;&gt;group-name&lt;/span&gt; {
    RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt; |
    SET FILTER TO &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;ip-cidr-addr&lt;/span&gt;&amp;#39; |
    SET POLICY TO &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;policy&lt;/span&gt;&amp;#39; |
    ADD {ADDRESS | FAULT GROUP | SUBCLUSTER} &lt;span class=&#34;code-variable&#34;&gt;add-list&lt;/span&gt; |
    DROP  {ADDRESS | FAULT GROUP | SUBCLUSTER} &lt;span class=&#34;code-variable&#34;&gt;drop-list&lt;/span&gt;
}
&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;group-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of an existing load balance group to change.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Renames the group to &lt;em&gt;new-name&lt;/em&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET FILTER TO &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;ip-cidr-addr&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;An IPv4 or IPv6 CIDR to replace the existing IP address filter that selects which members of a fault group or subcluster to include in the load balance group. This setting is only valid if the load balance group contains fault groups or subclusters.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET POLICY TO &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;policy&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Changes the policy the load balance group uses to select the target node for the incoming connection. One of:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;ROUNDROBIN&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;RANDOM&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;NONE&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-load-balance-group/#&#34;&gt;CREATE LOAD BALANCE GROUP&lt;/a&gt; for details.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ADD {ADDRESS | FAULT GROUP | SUBCLUSTER }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Adds objects of the specified type to the load balance group. Load balance groups can only contain one type of object. For example, if you created the load balance group using a list of addresses, you can only add additional addresses, not fault groups or subclusters.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;add-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A comma-delimited list of objects (addresses, fault groups, or subclusters) to add to the fault group.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;DROP {ADDRESS | FAULT GROUP | SUBCLUSTER}&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes objects of the specified type from the load balance group (addresses, fault groups, or subclusters). The object type must match the type of the objects already in the load balance group.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;drop-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The list of objects to remove from the load balance group.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Remove an address from the load balance group named group_2.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT * FROM LOAD_BALANCE_GROUPS;
  name   |   policy   | filter |         type          | object_name
---------+------------+--------+-----------------------+-------------
 group_1 | ROUNDROBIN |        | Network Address Group | node01
 group_1 | ROUNDROBIN |        | Network Address Group | node02
 group_2 | ROUNDROBIN |        | Network Address Group | node03
(3 rows)

=&amp;gt; ALTER LOAD BALANCE GROUP group_2 DROP ADDRESS node03;
ALTER LOAD BALANCE GROUP

=&amp;gt; SELECT * FROM LOAD_BALANCE_GROUPS;
  name   |   policy   | filter |         type          | object_name
---------+------------+--------+-----------------------+-------------
 group_1 | ROUNDROBIN |        | Network Address Group | node01
 group_1 | ROUNDROBIN |        | Network Address Group | node02
 group_2 | ROUNDROBIN |        | Empty Group           |
(3 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example adds three network addresses to the group named group_2:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER LOAD BALANCE GROUP group_2 ADD ADDRESS node01,node02,node03;
ALTER LOAD BALANCE GROUP
=&amp;gt; SELECT * FROM load_balance_groups WHERE name = &amp;#39;group_2&amp;#39;;
-[ RECORD 1 ]----------------------
name        | group_2
policy      | ROUNDROBIN
filter      |
type        | Network Address Group
object_name | node01
-[ RECORD 2 ]----------------------
name        | group_2
policy      | ROUNDROBIN
filter      |
type        | Network Address Group
object_name | node02
-[ RECORD 3 ]----------------------
name        | group_2
policy      | ROUNDROBIN
filter      |
type        | Network Address Group
object_name | node03
&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/statements/alter-statements/alter-network-address/&#34;&gt;ALTER NETWORK ADDRESS&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-routing-rule/&#34;&gt;ALTER ROUTING RULE&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-load-balance-group/&#34;&gt;CREATE LOAD BALANCE GROUP&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/load-balance-groups/&#34;&gt;LOAD_BALANCE_GROUPS&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/network-addresses/&#34;&gt;NETWORK_ADDRESSES&lt;/a&gt;&lt;/li&gt;
	
&lt;/ul&gt;



      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER MODEL</title>
      <link>/en/sql-reference/statements/alter-statements/alter-model/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-model/</guid>
      <description>
        
        
        &lt;p&gt;Allows users to rename an existing model, change ownership, or move it to a another schema.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER MODEL [[&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;model&lt;/span&gt;
    { OWNER TO &lt;span class=&#34;code-variable&#34;&gt;owner&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;
    | { INCLUDE | EXCLUDE | MATERIALIZE } [ SCHEMA ] PRIVILEGES }
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;a name=&#34;Paramete&#34;&gt;&lt;/a&gt;&lt;/p&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;model&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Identifies the model to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;owner&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Reassigns ownership of this model to &lt;em&gt;&lt;code&gt;owner&lt;/code&gt;&lt;/em&gt;. If a non-superuser, you must be the current owner.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Renames the mode, where &lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt; conforms to conventions described in &lt;a href=&#34;../../../../en/sql-reference/language-elements/identifiers/#&#34;&gt;Identifiers&lt;/a&gt;. It must also be unique among all names of sequences, tables, projections, views, and models within the same schema.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET SCHEMA &lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Moves the model from one schema to another. If privilege inheritance is enabled with INCLUDE SCHEMA PRIVILEGES, the model inherits the privileges of its new parent schema.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[ { INCLUDE | EXCLUDE | MATERIALIZE } [ SCHEMA ] PRIVILEGES ]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The INCLUDE and EXCLUDE parameters determine whether the model &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/inherited-privileges/&#34;&gt;inherits&lt;/a&gt; the privileges of its parent schema, overriding the &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-schema/&#34;&gt;schema-level setting&lt;/a&gt;:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;INCLUDE SCHEMA PRIVILEGES: The model inherits the privileges of its parent schema. This parameter has no effect while privilege inheritance is disabled at the database level with &lt;a href=&#34;../../../../en/sql-reference/config-parameters/security-parameters/&#34;&gt;DisableInheritedPrivileges&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;EXCLUDE SCHEMA PRIVILEGES: The model does not inherit the privileges of its parent schema.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The MATERIALIZE parameter converts inherited privileges into explicit &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-model/&#34;&gt;grants&lt;/a&gt; on the model. If privilege inheritance is disabled at the database level with DisableInheritedPrivileges, MATERIALIZE converts the set of inherited privileges that would be on the model if privilege inheritance was enabled.&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: USAGE on the schema and one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Model owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the model&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must have the following &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-schema/&#34;&gt;schema privileges&lt;/a&gt;:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Schema privileges required...&lt;/th&gt; 

&lt;th &gt;
For these operations...&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
CREATE, USAGE&lt;/td&gt; 

&lt;td &gt;
Rename model&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;




&lt;p&gt;CREATE: destination schema&lt;/p&gt;
&lt;p&gt;USAGE: current schema&lt;/p&gt;
&lt;/td&gt; 

&lt;td &gt;
Move model to another schema&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;To move a model to another schema:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MODEL&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;my_kmeans_model&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;clustering_models&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MODEL&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 rename a model:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MODEL&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;my_kmeans_model&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RENAME&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;kmeans_model&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 change the owner of the model:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MODEL&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;kmeans_model&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;OWNER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;analytics_user&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: ALTER NETWORK ADDRESS</title>
      <link>/en/sql-reference/statements/alter-statements/alter-network-address/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-network-address/</guid>
      <description>
        
        
        &lt;p&gt;Changes the configuration of an existing network address.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER NETWORK ADDRESS &lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt; {
    RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name
   &lt;/span&gt; | SET TO &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;ip-addr&lt;/span&gt;&amp;#39; [PORT &lt;span class=&#34;code-variable&#34;&gt;port-number&lt;/span&gt;]
    | { ENABLE | DISABLE }
    }
&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;name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of an existing network address to change.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Renames the network address to &lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;. This name change has no effect on the network address&#39;s membership in load balance groups.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET TO &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;ip-addr&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Changes the IP address assigned to the network address.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;PORT &lt;/code&gt;&lt;em&gt;&lt;code&gt;port-number&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Sets the port number for the network address. You must supply a network address when altering the port number.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ENABLE | DISABLE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Enables or disables the network address.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Rename the network address from &lt;code&gt;test_addr&lt;/code&gt; to &lt;code&gt;alt_node1&lt;/code&gt;, then change its IP address to &lt;code&gt;192.168.1.200&lt;/code&gt; with port number &lt;code&gt;4000&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NETWORK ADDRESS test_addr RENAME TO alt_node1;
ALTER NETWORK ADDRESS
=&amp;gt; ALTER NETWORK ADDRESS alt_node1 SET TO &amp;#39;192.168.1.200&amp;#39; PORT 4000;
ALTER NETWORK ADDRESS
&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/statements/alter-statements/alter-load-balance-group/&#34;&gt;ALTER LOAD BALANCE GROUP&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-routing-rule/&#34;&gt;ALTER ROUTING RULE&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-load-balance-group/&#34;&gt;CREATE LOAD BALANCE GROUP&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/load-balance-groups/&#34;&gt;LOAD_BALANCE_GROUPS&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/network-addresses/&#34;&gt;NETWORK_ADDRESSES&lt;/a&gt;&lt;/li&gt;
	
&lt;/ul&gt;



      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER NETWORK INTERFACE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-network-interface/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-network-interface/</guid>
      <description>
        
        
        
&lt;div class=&#34;admonition deprecated&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Deprecated&lt;/h4&gt;

This statement has been deprecated. Instead, use &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-network-address/#&#34;&gt;ALTER NETWORK ADDRESS&lt;/a&gt;.

&lt;/div&gt;
&lt;p&gt;Renames a network interface.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER NETWORK INTERFACE &lt;span class=&#34;code-variable&#34;&gt;network-interface-name&lt;/span&gt; RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-network-interface-name&lt;/span&gt;
&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;network-interface-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the existing network interface.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new-network-interface-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new name for the network interface.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Rename a network interface:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NETWORK INTERFACE myNetwork RENAME TO myNewNetwork;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER NODE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-node/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-node/</guid>
      <description>
        
        
        &lt;p&gt;Sets and clears node-level configuration parameters on the specified node. ALTER NODE also performs the following management tasks:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Changes the node type.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specifies the network interface of the public network on individual nodes that are used for import and export.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replaces a down node.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For information about removing a node, see&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/removing-nodes/removing-nodes-from-db/#&#34;&gt;Removing nodes from a database&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/removing-nodes/removing-hosts-from-cluster/#&#34;&gt;Removing hosts from a cluster&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER NODE &lt;span class=&#34;code-variable&#34;&gt;node-name &lt;/span&gt;{
    EXPORT ON { &lt;span class=&#34;code-variable&#34;&gt;network-interface&lt;/span&gt; | DEFAULT }
    | [IS] &lt;span class=&#34;code-variable&#34;&gt;node-type&lt;/span&gt;
    | REPLACE [ WITH &lt;span class=&#34;code-variable&#34;&gt;standby-node&lt;/span&gt; ]
    | RESET
    | SET [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;parameter&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;[,...]
    | CLEAR [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;parameter&lt;/span&gt;[,...]
}
&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 to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[IS] &lt;/code&gt;&lt;em&gt;&lt;code&gt;node-type&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Changes the node type, where &lt;em&gt;&lt;code&gt;node-type&lt;/code&gt;&lt;/em&gt; is one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;PERMANENT: (default): A node that stores data.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;EPHEMERAL: A node that is in transition from one type to another—typically, from PERMANENT to either STANDBY or EXECUTE.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;STANDBY: A node that is reserved to replace any node when it goes down. A standby node stores no segments or data until it is called to replace a down node. When used as a replacement node, the database changes its type to PERMANENT. For more information, see &lt;a href=&#34;../../../../en/admin/managing-db/managing-nodes/active-standby-nodes/#&#34;&gt;Active standby nodes&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;EXECUTE: A node that is reserved for computation purposes only. An execute node contains no segments or data.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

STANDBY and EXECUTE node types are supported only in Enterprise Mode.

&lt;/div&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;EXPORT ON&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the network to use for &lt;a href=&#34;../../../../en/data-export/db-export-and-import/&#34;&gt;importing and exporting&lt;/a&gt; data, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;network-interface&lt;/code&gt;&lt;/em&gt;: The name of a network interface of the public network.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DEFAULT&lt;/code&gt;: Use the default network interface of the public network, as specified by &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-db/#&#34;&gt;ALTER DATABASE&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;REPLACE [WITH &lt;/code&gt;&lt;em&gt;&lt;code&gt;standby-node&lt;/code&gt;&lt;/em&gt;&lt;code&gt;]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Enterprise Mode only, replaces the specified node with an available active standby node. If you omit the &lt;code&gt;WITH&lt;/code&gt; clause, OpenText™ Analytics Database tries to find a replacement node from the same fault group as the down node.
&lt;p&gt;If you specify a node that is not down, the database ignores this statement.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RESET&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Enterprise Mode only, restores the specified down node and returns its replacement to standby status. If the down node cannot resume activity, the database ignores this statement and leaves the standby node in place.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET [PARAMETER]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Sets one or more configuration parameters to the specified value at the node level.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CLEAR [PARAMETER]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Clears one or more specified configuration parameters.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Specify to use the default network interface of public network on &lt;code&gt;v_vmart_node0001&lt;/code&gt; for import/export operations:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NODE v_vmart_node0001 EXPORT ON DEFAULT;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Replace down node &lt;code&gt;v_vmart_node0001&lt;/code&gt; with an active standby node, then restore it:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NODE v_vmart_node0001 REPLACE WITH standby1;
...
=&amp;gt; ALTER NODE v_vmart_node0001 RESET;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Set and clear configuration parameter &lt;code&gt;MaxClientSessions&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NODE v_vmart_node0001 SET MaxClientSessions = 0;
...
=&amp;gt; ALTER NODE v_vmart_node0001 CLEAR MaxClientSessions;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Set the node type as &lt;code&gt;EPHEMERAL&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NODE v_vmart_node0001 IS EPHEMERAL;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER NOTIFIER</title>
      <link>/en/sql-reference/statements/alter-statements/alter-notifier/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-notifier/</guid>
      <description>
        
        
        &lt;p&gt;Updates an existing notifier.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

To change the action URL associated with an existing identifier, &lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-notifier/&#34;&gt;drop the notifier&lt;/a&gt; and recreate it.

&lt;/div&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;ALTER NOTIFIER &lt;span class=&#34;code-variable&#34;&gt;notifier-name&lt;/span&gt;
    [ ENABLE | DISABLE ]
    [ MAXPAYLOAD &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;max-payload-size&lt;/span&gt;&amp;#39; ]
    [ MAXMEMORYSIZE &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;max-memory-size&lt;/span&gt;&amp;#39; ]
    [ TLS CONFIGURATION &lt;span class=&#34;code-variable&#34;&gt;tls-configuration&lt;/span&gt; ]
    [ TLSMODE &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;tls-mode&lt;/span&gt;&amp;#39; ]
    [ CA BUNDLE &lt;span class=&#34;code-variable&#34;&gt;bundle-name&lt;/span&gt; [ CERTIFICATE &lt;span class=&#34;code-variable&#34;&gt;certificate-name&lt;/span&gt; ] ]
    [ IDENTIFIED BY &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;uuid&lt;/span&gt;&amp;#39; ]
    [ [NO] CHECK COMMITTED ]
    [ PARAMETERS &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;adapter-params&lt;/span&gt;&amp;#39; ]
&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;notifier-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the notifier to update.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;[NO] CHECK COMMITTED&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies to wait for delivery confirmation before sending the next message in the queue. Not all messaging systems support delivery confirmation.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ENABLE | DISABLE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to enable or disable the notifier.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;MAXPAYLOAD&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The maximum size of the message, up to 2 TB, specified in kilobytes, megabytes, gigabytes, or terabytes as follows:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MAXPAYLOAD &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;{K|M|G|T}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The default setting is adapter-specific—for example, 1 M for Kafka.&lt;/p&gt;
&lt;p&gt;Changes to this parameter take effect either after the notifier is disabled and reenabled or after the database restarts.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;MAXMEMORYSIZE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The maximum size of the internal notifier, up to 2 TB, specified in kilobytes, megabytes, gigabytes, or terabytes as follows:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MAXMEMORYSIZE &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;{K|M|G|T}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If the queue exceeds this size, the notifier drops excess messages.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;TLS CONFIGURATION &lt;em&gt;&lt;code&gt;tls-configuration&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;The &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-tls-config/&#34;&gt;TLS CONFIGURATION&lt;/a&gt; to use for TLS.&lt;/p&gt;
&lt;p&gt;Notifiers support the following TLS modes:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;DISABLE&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;TRY_VERIFY (behaves like VERIFY_CA)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;VERIFY_CA&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;VERIFY_FULL&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the notifier &lt;code&gt;ACTION&lt;/code&gt; is &lt;code&gt;&#39;syslog&#39;&lt;/code&gt; or &lt;code&gt;&#39;sns&#39;&lt;/code&gt;, this parameter has no effect.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to syslog, you must configure syslog for TLS.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to an SNS endpoint, you must set the following configuration parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SNSCAFile or AWSCAFile&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSCAPath or AWSCAPath&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSEnableHttps&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;TLSMODE &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;tls-mode&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;div class=&#34;admonition deprecated&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Deprecated&lt;/h4&gt;

This parameter has been superseded by the TLS CONFIGURATION parameter. If you use this parameter while the TLS CONFIGURATION parameter is not set, the database automatically creates a new TLS Configuration for the notifier uses the same values as the deprecated parameter.

&lt;/div&gt;
&lt;p&gt;Specifies the type of connection between the notifier and an endpoint, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;disable&lt;/code&gt; (default): Plaintext connection.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;verify-ca&lt;/code&gt;: Encrypted connection, and the server&#39;s certificate is verified as being signed by a trusted CA.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you set this parameter to &lt;code&gt;verify-ca&lt;/code&gt;, the generated TLS Configuration will be set to TRY_VERIFY, which has the same behavior as VERIFY_CA.&lt;/p&gt;
&lt;p&gt;If the notifier &lt;code&gt;ACTION&lt;/code&gt; is &lt;code&gt;&#39;syslog&#39;&lt;/code&gt; or &lt;code&gt;&#39;sns&#39;&lt;/code&gt;, this parameter has no effect.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to syslog, you must configure syslog for TLS.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to an SNS endpoint, you must set the following configuration parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SNSCAFile or AWSCAFile&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSCAPath or AWSCAPath&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSEnableHttps&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CA BUNDLE &lt;/code&gt;&lt;em&gt;&lt;code&gt;bundle-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;div class=&#34;admonition deprecated&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Deprecated&lt;/h4&gt;

This parameter has been superseded by the TLS CONFIGURATION parameter. If you use this parameter while the TLS CONFIGURATION parameter is not set, the database automatically creates a new TLS Configuration for the notifier uses the same values as the deprecated parameter.

&lt;/div&gt;
&lt;p&gt;Specifies a &lt;a href=&#34;../../../../en/security-and-authentication/tls-protocol/tls-overview/managing-ca-bundles/&#34;&gt;CA bundle&lt;/a&gt;. The certificates inside the bundle are used to validate the Kafka server&#39;s certificate if the &lt;code&gt;TLSMODE&lt;/code&gt; requires it.&lt;/p&gt;
&lt;p&gt;If a CA bundle is specified for a notifier that currently uses &lt;code&gt;disable&lt;/code&gt;, which doesn&#39;t validate the Kafka server&#39;s certificate, the bundle will go unused when connecting to the Kafka server. This behavior persists unless the &lt;code&gt;TLSMODE&lt;/code&gt; is changed to one that validates server certificates.&lt;/p&gt;
&lt;p&gt;Changes to contents of the CA bundle take effect either after the notifier is disabled and re-enabled or after the database restarts. However, changes to which CA bundle the notifier uses takes effect immediately.&lt;/p&gt;
&lt;p&gt;If the notifier &lt;code&gt;ACTION&lt;/code&gt; is &lt;code&gt;&#39;syslog&#39;&lt;/code&gt; or &lt;code&gt;&#39;sns&#39;&lt;/code&gt;, this parameter has no effect.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to syslog, you must configure syslog for TLS.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to an SNS endpoint, you must set the following configuration parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SNSCAFile or AWSCAFile&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSCAPath or AWSCAPath&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSEnableHttps&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CERTIFICATE &lt;/code&gt;&lt;em&gt;&lt;code&gt;certificate-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;div class=&#34;admonition deprecated&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Deprecated&lt;/h4&gt;

This parameter has been superseded by the TLS CONFIGURATION parameter. If you use this parameter while the TLS CONFIGURATION parameter is not set, the database automatically creates a new TLS Configuration for the notifier uses the same values as the deprecated parameter.

&lt;/div&gt;
&lt;p&gt;Specifies a &lt;a href=&#34;../../../../en/security-and-authentication/tls-protocol/tls-overview/generating-tls-certificates-and-keys/&#34;&gt;client certificate&lt;/a&gt; for validation by the endpoint.&lt;/p&gt;
&lt;p&gt;If the notifier &lt;code&gt;ACTION&lt;/code&gt; is &lt;code&gt;&#39;syslog&#39;&lt;/code&gt; or &lt;code&gt;&#39;sns&#39;&lt;/code&gt;, this parameter has no effect.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to syslog, you must configure syslog for TLS.&lt;/p&gt;
&lt;p&gt;To encrypt messages sent to an SNS endpoint, you must set the following configuration parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SNSCAFile or AWSCAFile&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSCAPath or AWSCAPath&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SNSEnableHttps&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;IDENTIFIED BY &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;uuid&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies the notifier&#39;s unique identifier. If set, all the messages published by this notifier have this attribute.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;PARAMETERS &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;adapter-params&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies one or more optional adapter parameters that are passed as a string to the adapter. Adapter parameters apply only to the adapter associated with the notifier.
&lt;p&gt;Changes to this parameter take effect either after the notifier is disabled and reenabled or after the database restarts.&lt;/p&gt;

&lt;p&gt;For Kafka notifiers, refer to &lt;a href=&#34;../../../../en/kafka-integration/configuring-and-kafka/kafka-and-config-settings/#&#34;&gt;Kafka and OpenText Analytics Database configuration settings&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;encrypted-notifiers-for-sasl_ssl-kafka-configurations&#34;&gt;Encrypted notifiers for SASL_SSL Kafka configurations&lt;/h2&gt;
&lt;p&gt;Follow this procedure to create or alter notifiers for Kafka endpoints that use SASL_SSL. Note that you must repeat this procedure whenever you change the TLSMODE, certificates, or CA bundle for a given notifier.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-tls-config/&#34;&gt;Create a TLS Configuration&lt;/a&gt; with the desired TLS mode, certificate, and CA certificates.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use CREATE or ALTER to disable the notifier and set the TLS Configuration:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NOTIFIER encrypted_notifier
    DISABLE
    TLS CONFIGURATION kafka_tls_config;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER the notifier and set the proper rdkafka adapter parameters for SASL_SSL:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NOTIFIER encrypted_notifier PARAMETERS
    &amp;#39;sasl.username=user;sasl.password=password;sasl.mechanism=PLAIN;security.protocol=SASL_SSL&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enable the notifier:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NOTIFIER encrypted_notifier ENABLE;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Update the settings on an existing notifier:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NOTIFIER my_dc_notifier
    ENABLE
    MAXMEMORYSIZE &amp;#39;2G&amp;#39;
    IDENTIFIED BY &amp;#39;f8b0278a-3282-4e1a-9c86-e0f3f042a971&amp;#39;
    CHECK COMMITTED;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Add a TLS Configuration to a notifier. To create a custom TLS Configuration, see &lt;a href=&#34;../../../../en/security-and-authentication/tls-protocol/tls-overview/tls-configs/#&#34;&gt;TLS configurations&lt;/a&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER NOTIFIER my_notifier TLS CONFIGURATION notifier_tls_config
&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/statements/create-statements/create-notifier/#&#34;&gt;CREATE NOTIFIER&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-notifier/#&#34;&gt;DROP NOTIFIER&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/monitoring/monitoring-using-notifiers/#&#34;&gt;Monitoring OpenText Analytics Database using notifiers&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER PROCEDURE (stored)</title>
      <link>/en/sql-reference/statements/alter-statements/alter-procedure-stored/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-procedure-stored/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../en/extending/stored-procedures/&#34;&gt;stored procedure&lt;/a&gt;, retaining any existing &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-procedure/&#34;&gt;grants&lt;/a&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;ALTER PROCEDURE &lt;span class=&#34;code-variable&#34;&gt;procedure&lt;/span&gt; ( [ [ &lt;span class=&#34;code-variable&#34;&gt;parameter_mode&lt;/span&gt; ] [ &lt;span class=&#34;code-variable&#34;&gt;parameter&lt;/span&gt; ] &lt;span class=&#34;code-variable&#34;&gt;parameter_type&lt;/span&gt; [, ...] ] )
    [ SECURITY { INVOKER | DEFINER }
      | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new_procedure_name&lt;/span&gt;
      | OWNER TO &lt;span class=&#34;code-variable&#34;&gt;new_owner&lt;/span&gt;
      | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new_schema&lt;/span&gt;
      | SOURCE TO &lt;span class=&#34;code-variable&#34;&gt;new_source&lt;/span&gt;
    ]
&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;procedure&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The procedure to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter_mode&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The &lt;a href=&#34;../../../../en/extending/stored-procedures/parameter-modes/&#34;&gt;IN and INOUT parameters&lt;/a&gt; of the stored procedure.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the parameter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter_type&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The &lt;a href=&#34;../../../../en/extending/stored-procedures/plvsql/supported-types/&#34;&gt;type&lt;/a&gt; of the parameter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SECURITY { INVOKER | DEFINER }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to execute the procedure with the privileges of the invoker or its definer (owner).
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/extending/stored-procedures/executing-stored-procedures/#&#34;&gt;Executing stored procedures&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new_procedure_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new name for the procedure.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new_owner&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new owner (definer) of the procedure.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET SCHEMA &lt;/code&gt;&lt;em&gt;&lt;code&gt;new_schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new schema of the procedure.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SOURCE TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new_source&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new procedure source code. For details, see &lt;a href=&#34;../../../../en/extending/stored-procedures/plvsql/scope-and-structure/#&#34;&gt;Scope and structure&lt;/a&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;h3 id=&#34;owner-to&#34;&gt;OWNER TO&lt;/h3&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h3 id=&#34;rename-and-schema-to&#34;&gt;RENAME and SCHEMA TO&lt;/h3&gt;
&lt;p&gt;Non-superuser:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;CREATE on the procedure&#39;s schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Ownership of the procedure&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;other-operations&#34;&gt;Other operations&lt;/h3&gt;
&lt;p&gt;Non-superuser: Ownership of the procedure&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/extending/stored-procedures/altering-stored-procedures/#&#34;&gt;Altering stored procedures&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER PROFILE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-profile/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-profile/</guid>
      <description>
        
        
        &lt;p&gt;Changes a &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/hash-authentication/passwords/profiles/&#34;&gt;profile&lt;/a&gt;. All parameters that are not set in a profile inherit their setting from the default profile. You can use &lt;code&gt;ALTER PROFILE&lt;/code&gt; to change the default profile.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER PROFILE &lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt; LIMIT [
    PASSWORD_LIFE_TIME &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_LIFE_TIME &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_GRACE_TIME &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    FAILED_LOGIN_ATTEMPTS &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_LOCK_TIME &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_REUSE_MAX &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_REUSE_TIME &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MAX_LENGTH &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_LENGTH &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_LETTERS &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_UPPERCASE_LETTERS &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_LOWERCASE_LETTERS &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_DIGITS &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_SYMBOLS &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;
    PASSWORD_MIN_CHAR_CHANGE &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt; ]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

To reset a parameter to inherit from the default profile, set its value to &lt;code&gt;default&lt;/code&gt;.

&lt;/div&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Name&lt;/th&gt; 

&lt;th &gt;
Description&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;em&gt;&lt;code&gt;name&lt;/code&gt;&lt;/em&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;The name of the profile to create, where *&lt;code&gt;name&lt;/code&gt;*conforms to conventions described in &lt;a href=&#34;../../../../en/sql-reference/language-elements/identifiers/#&#34;&gt;Identifiers&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To modify the default profile, set &lt;em&gt;&lt;code&gt;name&lt;/code&gt;&lt;/em&gt; to &lt;code&gt;default&lt;/code&gt;. For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ALTER PROFILE DEFAULT LIMIT PASSWORD_MIN_SYMBOLS 1;&lt;/code&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_LIFE_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;








&lt;p&gt;Set to an integer value, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;≥ 1: The number of days a password remains valid.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: Password remains valid indefinitely.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After your password&#39;s lifetime and grace period expire, you must change your password on your next login, if you have not done so already.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_LIFE_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;








&lt;p&gt;Set to an integer value, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Default: 0&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;≥ 1: The number of days a password must be set before it can be changed&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: Password can be reset at any time.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_GRACE_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Set to an integer value, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;≥ 1: The number of days a password can be used after it expires.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: No grace period.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;FAILED_LOGIN_ATTEMPTS&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Set to an integer value, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;≥ 1: The number of consecutive failed login attempts allowed by the database before your account is locked.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: The database allows an unlimited number of failed login attempts.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_LOCK_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;≥ 1: The number of days (units configurable with &lt;a href=&#34;../../../../en/sql-reference/config-parameters/security-parameters/&#34;&gt;PasswordLockTimeUnit&lt;/a&gt;) a user&#39;s account is locked after &lt;code&gt;FAILED_LOGIN_ATTEMPTS&lt;/code&gt; number of login attempts. The account is automatically unlocked when the lock time elapses.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: Account remains indefinitely inaccessible until a superuser manually unlocks it.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_REUSE_MAX&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Set to an integer value, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;≥ 1: The number of times you must change your password before you can reuse an earlier password.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: You can reuse an earlier password without any intervening changes.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_REUSE_TIME&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Set to an integer value, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;≥ 1: The number of days that must pass after a password is set before you can reuse it.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: You can reuse an earlier password immediately.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;The maximum number of characters allowed in a password, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Integer between 8 and 512, inclusive&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_LENGTH&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;The minimum number of characters required in a password, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;0 to &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: Minimum of &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_LETTERS&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Minimum number of letters (a-z and A-Z) that must be in a password, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Integer between 0 and &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;, inclusive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: 0 (no minimum)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_UPPERCASE_LETTERS&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Minimum number of uppercase letters (A-Z) that must be in a password, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Integer between 0 and &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;, inclusive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: 0 (no minimum)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_LOWERCASE_LETTERS&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Minimum number of lowercase letters (a-z) that must be in a password, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Integer between 0 and &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;, inclusive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: 0 (no minimum)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_DIGITS&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Minimum number of digits (0-9) that must be in a password, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Integer between 0 and &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;, inclusive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: 0 (no minimum)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_SYMBOLS&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;






&lt;p&gt;Minimum number of symbols—printable non-letter and non-digit characters such as $, #, @—that must be in a password, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Integer between 0 and &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;, inclusive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: 0 (no minimum)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD_MIN_CHAR_CHANGE&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;








&lt;p&gt;Minimum number of characters that must be different from the previous password:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Default: 0&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Integer between 0 and &lt;code&gt;PASSWORD_MAX_LENGTH&lt;/code&gt;, inclusive&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLIMITED&lt;/code&gt;: 0 (no minimum)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;


&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;profile-settings-and-client-authentication&#34;&gt;Profile settings and client authentication&lt;/h2&gt;
&lt;p&gt;The following profile settings affect &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/&#34;&gt;client authentication methods&lt;/a&gt;, such as LDAP or GSS:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;FAILED_LOGIN_ATTEMPTS&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PASSWORD_LOCK_TIME&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All other profile settings are used only by the database to manage its passwords.&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER PROFILE sample_profile LIMIT FAILED_LOGIN_ATTEMPTS 3;
&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/statements/create-statements/create-profile/#&#34;&gt;CREATE PROFILE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-profile/#&#34;&gt;DROP PROFILE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/configuring-db/config-procedure/create-an-empty-db/creating-db-name-and-password/#&#34;&gt;Creating a database name and password&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER PROFILE RENAME</title>
      <link>/en/sql-reference/statements/alter-statements/alter-profile-rename/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-profile-rename/</guid>
      <description>
        
        
        &lt;p&gt;Rename an existing profile.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER PROFILE &lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt; RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;;
&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;name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The current name of the profile.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new name for the profile.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;This example shows how to rename an existing profile.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER PROFILE sample_profile RENAME TO new_sample_profile;
&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/statements/alter-statements/alter-profile/#&#34;&gt;ALTER PROFILE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-profile/#&#34;&gt;CREATE PROFILE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-profile/#&#34;&gt;DROP PROFILE&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER PROJECTION</title>
      <link>/en/sql-reference/statements/alter-statements/alter-projection/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-projection/</guid>
      <description>
        
        
        &lt;p&gt;Changes the DDL of the specified projection.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER 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;
   { RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt; | ON PARTITION RANGE BETWEEN &lt;span class=&#34;code-variable&#34;&gt;min-val&lt;/span&gt; AND &lt;span class=&#34;code-variable&#34;&gt;max-val&lt;/span&gt; | { ENABLE | DISABLE } }
 
&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 projection to change, where &lt;em&gt;&lt;code&gt;projection&lt;/code&gt;&lt;/em&gt; can be one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Projection base name: Rename all projections that share this base name.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Projection name: Rename the specified projection and its base name. If the projection is segmented, its buddies are unaffected by this change.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/admin/projections/projection-naming/#&#34;&gt;Projection naming&lt;/a&gt; for projection name conventions.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO&lt;/code&gt;&lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new projection name.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;ON PARTITION RANGE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Valid only for projections that were created with a partition range.

&lt;/div&gt;
&lt;p&gt;Limits projection data to a range of partition keys.  The minimum value must be less than or equal to the maximum value.&lt;/p&gt;
&lt;p&gt;Values can be NULL.  A null minimum value indicates no lower bound and a null maximum value indicates no upper bound. If both are NULL, this statement drops the projection endpoints, producing a regular projection instead of a range projection.&lt;/p&gt;

&lt;p&gt;If the new range of keys is outside the previous range, OpenText™ Analytics Database displays a warning that the projection is out of date and must be refreshed before it can be used.&lt;/p&gt;
&lt;p&gt;For other requirements and usage details, see &lt;a href=&#34;../../../../en/admin/projections/partition-range-projections/#&#34;&gt;Partition range projections&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;ENABLE | DISABLE&lt;/dt&gt;
&lt;dd&gt;Specifies whether to mark this projection as unavailable for queries on its anchor table. If a projection is the queried table&#39;s only superprojection, attempts to disable it return with a rollback message. ENABLE restores the projection&#39;s availability to query planning. You can also mark a projection as unavailable for individual queries using the hint &lt;a href=&#34;../../../../en/sql-reference/language-elements/hints/skip-projs/&#34;&gt;SKIP_PROJS&lt;/a&gt;.
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; ENABLE&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, CREATE and USAGE on the schema and one of the following anchor table privileges:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Table owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SELECT privilege only if defining a &lt;a href=&#34;../../../../en/admin/projections/partition-range-projections/&#34;&gt;partition range projection&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;syntactic-sugar&#34;&gt;Syntactic sugar&lt;/h2&gt;
&lt;p&gt;The statement&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER PROJECTION foo REMOVE PARTITION RANGE;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;has the same effect as&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER PROJECTION foo ON PARTITION RANGE BETWEEN NULL AND NULL;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT export_tables(&amp;#39;&amp;#39;,&amp;#39;public.store_orders&amp;#39;);

                export_tables
---------------------------------------------

CREATE TABLE public.store_orders
(
    order_no int,
    order_date timestamp NOT NULL,
    shipper varchar(20),
    ship_date date NOT NULL
);
(1 row)

=&amp;gt; CREATE PROJECTION store_orders_p AS SELECT * from store_orders;
CREATE PROJECTION
=&amp;gt; ALTER PROJECTION store_orders_p RENAME to store_orders_new;
ALTER PROJECTION
=&amp;gt; ALTER PROJECTION store_orders_new DISABLE;
=&amp;gt; SELECT * FROM store_orders_new;
ERROR 3586:  Insufficient projections to answer query
DETAIL:  No projections eligible to answer query
HINT:  Projection store_orders_new not used in the plan because the projection is disabled.
=&amp;gt; ALTER PROJECTION store_orders_new ENABLE;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;

&lt;code&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-projection/#&#34;&gt;CREATE PROJECTION&lt;/a&gt;&lt;/code&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER RESOURCE POOL</title>
      <link>/en/sql-reference/statements/alter-statements/alter-resource-pool/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-resource-pool/</guid>
      <description>
        
        
        &lt;p&gt;Modifies an existing resource pool by setting one or more parameters.&lt;/p&gt;
&lt;p&gt;You can use &lt;span class=&#34;sql&#34;&gt;ALTER RESOURCE POOL&lt;/span&gt; to modify some parameters in OpenText™ Analytics Database built-in resource pools. For details on default settings and restrictions, see &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-resource-pools-config/#&#34;&gt;Built-in resource pools configuration&lt;/a&gt;.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Changes to parameters of the built-in &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-resource-pools-config/#GENERAL&#34;&gt;GENERAL resource pool&lt;/a&gt; take effect only when the database restarts.
&lt;/div&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;ALTER RESOURCE POOL &lt;span class=&#34;code-variable&#34;&gt;pool-name&lt;/span&gt; [ FOR &lt;span class=&#34;code-variable&#34;&gt;subcluster&lt;/span&gt; ] &lt;span class=&#34;code-variable&#34;&gt;parameter-name&lt;/span&gt; &lt;span class=&#34;code-variable&#34;&gt;setting&lt;/span&gt;[...]
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;pool-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the resource pool to modify.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;FOR &lt;/code&gt;&lt;em&gt;&lt;code&gt;subcluster&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Eon Mode only, the subcluster to associate with this resource pool, where &lt;em&gt;&lt;code&gt;subcluster&lt;/code&gt;&lt;/em&gt; is one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;SUBCLUSTER &lt;/code&gt;&lt;em&gt;&lt;code&gt;subcluster-name&lt;/code&gt;&lt;/em&gt;: Resource pool for an existing subcluster. You cannot be connected to this subcluster, otherwise the database returns an error.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;CURRENT SUBCLUSTER&lt;/code&gt;: Resource pool for the subcluster that you are connected to.&lt;/li&gt;
&lt;/ul&gt;


&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
You cannot use ALTER RESOURCE POOL to convert a global resource pool to a subcluster-level resource pool.
&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter-name setting&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A resource pool parameter and its new setting. To reset this parameter to its default value, specify &lt;code&gt;DEFAULT&lt;/code&gt;.
&lt;p&gt;If you specify a subcluster, you can alter only the &lt;code&gt;MAXMEMORYSIZE&lt;/code&gt;, &lt;code&gt;MAXQUERYMEMORYSIZE&lt;/code&gt;, and &lt;code&gt;MEMORYSIZE&lt;/code&gt; parameters for &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-pools/&#34;&gt;built-in pools&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;parameters&#34;&gt;Parameters&lt;/h2&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Default values specified here pertain only to user-defined resource pools. For built-in pool default values, see &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-resource-pools-config/#&#34;&gt;Built-in resource pools configuration&lt;/a&gt;, or query system table &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/resource-pool-defaults/#&#34;&gt;RESOURCE_POOL_DEFAULTS&lt;/a&gt;.

&lt;/div&gt;
&lt;dl&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;CASCADE&#34;&gt;&lt;/a&gt;CASCADE TO&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Secondary resource pool for executing queries that exceed the
&lt;code&gt;&lt;a href=&#34;#RUNTIMECAP&#34;&gt;RUNTIMECAP&lt;/a&gt;&lt;/code&gt; setting of their assigned resource pool:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;CASCADE TO &lt;span class=&#34;code-variable&#34;&gt;secondary-pool&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;CPUAFFINITYMODE&#34;&gt;&lt;/a&gt;CPUAFFINITYMODE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whether the resource pool has exclusive or shared use of the CPUs specified in
&lt;code&gt;&lt;a href=&#34;#CPUAFFINITYSET&#34;&gt;CPUAFFINITYSET&lt;/a&gt;&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;CPUAFFINITYMODE { SHARED | EXCLUSIVE | ANY }
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;&lt;code&gt;SHARED&lt;/code&gt;: Queries that run in this resource pool share its &lt;code&gt;CPUAFFINITYSET&lt;/code&gt; CPUs with other database resource pools.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;EXCLUSIVE&lt;/code&gt;: Dedicates &lt;code&gt;CPUAFFINITYSET&lt;/code&gt; CPUs to this resource pool only, and excludes other database resource pools. If &lt;code&gt;CPUAFFINITYSET&lt;/code&gt; is set as a percentage, that percentage of CPU resources available to the database is assigned solely to this resource pool.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ANY&lt;/code&gt;: Queries in this resource pool can run on any CPU, invalid if &lt;code&gt;CPUAFFINITYSET&lt;/code&gt; designates CPU resources.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;ANY&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;CPUAFFINITYSET&#34;&gt;&lt;/a&gt;CPUAFFINITYSET&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;CPUs available to this resource pool. All cluster nodes must have the same number of CPUs. The CPU resources assigned to this set are unavailable to general resource pools.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;CPUAFFINITYSET {
  &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;cpu-index&lt;/span&gt;[,...]&amp;#39;
| &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;cpu-indexi&lt;/span&gt;-&lt;span class=&#34;code-variable&#34;&gt;cpu-index&lt;/span&gt;n&amp;#39;
| &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;%&amp;#39;
| NONE
}
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;cpu-index&lt;/code&gt;&lt;/em&gt;&lt;code&gt;[,...]&lt;/code&gt;: Dedicates one or more comma-delimited CPUs to this resource pool.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;cpu-indexi-cpu-indexn&lt;/code&gt;&lt;/em&gt;: Dedicates a range of contiguous CPU indexes &lt;em&gt;&lt;code&gt;i&lt;/code&gt;&lt;/em&gt; through &lt;em&gt;&lt;code&gt;n&lt;/code&gt;&lt;/em&gt; to this resource pool.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt;%&lt;/code&gt;: Percentage of all available CPUs to use for this resource pool. The database rounds this percentage down to include whole CPU units.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;NONE&lt;/code&gt; (empty string): No affinity set is assigned to this resource pool. Queries associated with this pool are executed on any CPU.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;NONE&lt;/code&gt;

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
&lt;code&gt;CPUAFFINITYSET&lt;/code&gt; and &lt;code&gt;CPUAFFINITYMODE&lt;/code&gt; must be set together in the same statement.
&lt;/div&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;EXECUTIONPARALLELISM&#34;&gt;&lt;/a&gt;EXECUTIONPARALLELISM&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Number of threads used to process any single query issued in this resource pool.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;EXECUTIONPARALLELISM { &lt;span class=&#34;code-variable&#34;&gt;limit&lt;/span&gt; | AUTO }
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;limit&lt;/code&gt;&lt;/em&gt;: An integer value between 1 and the number of cores. Setting this parameter to a reduced value increases throughput of short queries issued in the resource pool, especially if queries are executed concurrently.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;AUTO&lt;/code&gt; or &lt;code&gt;0&lt;/code&gt;: The database calculates the setting from the number of cores, available memory, and amount of data in the system. Unless memory is limited, or the amount of data is very small, the database sets this parameter to the number of cores on the node.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;AUTO&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;MAXCONCURRENCY&#34;&gt;&lt;/a&gt;MAXCONCURRENCY&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Maximum number of concurrent execution slots available to the resource pool across the cluster:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MAXCONCURRENCY { &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; | NONE }
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (empty string): Unlimited number of concurrent execution slots.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;NONE&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;MAXMEMORYSIZE&#34;&gt;&lt;/a&gt;MAXMEMORYSIZE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Maximum size per node the resource pool can grow by borrowing memory from the 
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-pools/#GENERAL&#34;&gt;GENERAL&lt;/a&gt;&lt;/code&gt; pool:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MAXMEMORYSIZE {
  &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;%&amp;#39;
  |&amp;#39;&lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;{K|M|G|T}&amp;#39;
  NONE
}
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt;%&lt;/code&gt;: Percentage of total memory&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt;{K|M|G|T}&lt;/code&gt;: Amount of memory in kilobytes, megabytes, gigabytes, or terabytes&lt;/li&gt;
&lt;li&gt;&lt;code&gt;NONE&lt;/code&gt; (empty string): Unlimited, resource pool can borrow any amount of available memory from the &lt;code&gt;GENERAL&lt;/code&gt; pool.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;NONE&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;MAXQUERYMEMORYSIZE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Maximum amount of memory this resource pool can allocate at runtime to process a query. If the query requires more memory than this setting, the database stops execution and returns an error.&lt;/p&gt;
&lt;p&gt;Set this parameter as follows:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MAXQUERYMEMORYSIZE {
  &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;%&amp;#39;
| &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;{K|M|G|T}&amp;#39;
| NONE
}
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt;%&lt;/code&gt;: Percentage of 
&lt;code&gt;&lt;a name=&#34;MAXMEMORYSIZE&#34;&gt;&lt;/a&gt;MAXMEMORYSIZE&lt;/code&gt; for this resource pool.&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt;{K|M|G|T}&lt;/code&gt;: Amount of memory in kilobytes, megabytes, gigabytes, or terabytes, up to the value of 
&lt;code&gt;&lt;a name=&#34;MAXMEMORYSIZE&#34;&gt;&lt;/a&gt;MAXMEMORYSIZE&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;NONE&lt;/code&gt; (empty string): Unlimited; resource pool can borrow any amount of available memory from the GENERAL pool, within the limits set by 
&lt;code&gt;&lt;a name=&#34;MAXMEMORYSIZE&#34;&gt;&lt;/a&gt;MAXMEMORYSIZE&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;NONE&lt;/code&gt;&lt;/p&gt;


&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Changes to &lt;code&gt;MAXQUERYMEMORYSIZE&lt;/code&gt; are applied retroactively to queries that are currently executing. If you reduce this setting, queries that were budgeted with the previous memory size are liable to fail if they try to allocate more memory than the new setting allows.
&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;MEMORYSIZE&#34;&gt;&lt;/a&gt;MEMORYSIZE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Total per-node memory available to the database resource manager that is allocated to this resource pool:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;MEMORYSIZE {
  &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;%&amp;#39;
| &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;{K|M|G|T}&amp;#39;
}
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt;%&lt;/code&gt;: Percentage of total memory&lt;/li&gt;
&lt;li&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt;{K|M|G|T}&lt;/code&gt;: Amount of memory in kilobytes, megabytes, gigabytes, or terabytes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default:&lt;/strong&gt; 0%. No memory allocated, the resource pool borrows memory from the 
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-pools/#GENERAL&#34;&gt;GENERAL&lt;/a&gt;&lt;/code&gt; pool.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;PLANNEDCONCURRENCY&#34;&gt;&lt;/a&gt;PLANNEDCONCURRENCY&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Preferred number of queries to execute concurrently in the resource pool. This setting applies to the entire cluster:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;PLANNEDCONCURRENCY { &lt;span class=&#34;code-variable&#34;&gt;num-queries&lt;/span&gt; | AUTO }
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;num-queries&lt;/code&gt;&lt;/em&gt;: Integer value ≥ 1, the preferred number of queries to execute concurrently in the resource pool. When possible, query resource budgets are limited to allow this level of concurrent execution.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;AUTO&lt;/code&gt;: Value is calculated automatically at query runtime. The database sets this parameter to the lower of these two calculations, but never less than 4:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Number of logical cores&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Memory divided by 2GB&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the number of logical cores on each node is different, &lt;code&gt;AUTO&lt;/code&gt; is calculated differently for each node. Distributed queries run like the minimal effective planned concurrency. Single node queries run with the planned concurrency of the initiator.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;AUTO&lt;/code&gt;

&lt;div class=&#34;alert admonition tip&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Tip&lt;/h4&gt;

Change this parameter only after evaluating performance over a period of time.

&lt;/div&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;PRIORITY&#34;&gt;&lt;/a&gt;PRIORITY&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Priority of queries in this resource pool when they compete for resources in the 
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-pools/#GENERAL&#34;&gt;GENERAL&lt;/a&gt;&lt;/code&gt; pool:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;PRIORITY { &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; | HOLD }
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;: Negative or positive integer value, where higher numbers denote higher priority:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;User-defined resource pool: &lt;code&gt;-100&lt;/code&gt; to &lt;code&gt;100&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Built-in resource pools 
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-pools/#SYSQUERY&#34;&gt;SYSQUERY&lt;/a&gt;&lt;/code&gt;, 
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-pools/#RECOVERY&#34;&gt;RECOVERY&lt;/a&gt;&lt;/code&gt;, and 
&lt;code&gt;&lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-pools/#TM&#34;&gt;TM&lt;/a&gt;&lt;/code&gt;: &lt;code&gt;-110&lt;/code&gt; to &lt;code&gt;110&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;HOLD&lt;/code&gt;: Sets priority to &lt;code&gt;-999&lt;/code&gt;. Queries in this resource pool are queued until
&lt;code&gt;&lt;a href=&#34;#QUEUETIMEOUT&#34;&gt;QUEUETIMEOUT&lt;/a&gt;&lt;/code&gt; is reached.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: 0&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;QUEUETIMEOUT&#34;&gt;&lt;/a&gt;QUEUETIMEOUT&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Maximum time a request can wait for pool resources before it is rejected, not more than one year:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;QUEUETIMEOUT { &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; | &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/language-elements/literals/datetime-literals/interval-literal/#&#34;&gt;interval&lt;/a&gt;&lt;/span&gt;&amp;#39; | &amp;#39;NONE&amp;#39; }
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;: Maximum wait time in seconds&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;code-variable&#34;&gt;[interval](/en/sql-reference/language-elements/literals/datetime-literals/interval-literal/)&lt;/span&gt;: Maximum wait time expressed in the following format:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;num&lt;/span&gt; year &lt;span class=&#34;code-variable&#34;&gt;num&lt;/span&gt; months &lt;span class=&#34;code-variable&#34;&gt;num&lt;/span&gt; [days] HH:MM:SS.ms
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (empty string): No maximum wait time, request can be queued indefinitely, up to one year.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the value that you specify resolves to more than one year, the database returns with a warning and sets the parameter to 365 days:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER RESOURCE POOL user_0 QUEUETIMEOUT &amp;#39;11 months 50 days 08:32&amp;#39;;
WARNING 5693:  Using 1 year for QUEUETIMEOUT
ALTER RESOURCE POOL
=&amp;gt; SELECT QUEUETIMEOUT FROM resource_pools WHERE name = &amp;#39;user_0&amp;#39;;
 QUEUETIMEOUT
--------------
 365
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;:&lt;span class=&#34;code-input&#34;&gt; 00:05 (5 minutes)&lt;/span&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;RUNTIMECAP&#34;&gt;&lt;/a&gt;RUNTIMECAP&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Maximum execution time allowed to queries in this resource pool, not more than one year, otherwise the database returns with an error. If a query exceeds this setting, it tries to cascade to a secondary pool:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;RUNTIMECAP { &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;interval&lt;/span&gt;&amp;#39; | NONE }
&lt;/code&gt;&lt;/pre&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;a href=&#34;../../../../en/sql-reference/language-elements/literals/datetime-literals/interval-literal/&#34;&gt;&lt;code&gt;interval&lt;/code&gt;&lt;/a&gt;&lt;/em&gt;: Maximum wait time expressed in the following format:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;num&lt;/span&gt; year &lt;span class=&#34;code-variable&#34;&gt;num&lt;/span&gt; month &lt;span class=&#34;code-variable&#34;&gt;num&lt;/span&gt; [day] HH:MM:SS.ms
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (empty string): No maximum wait time, request can be queued indefinitely, up to one year.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the user or session also has a &lt;code&gt;RUNTIMECAP&lt;/code&gt;, the shorter limit applies.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;RUNTIMEPRIORITY&#34;&gt;&lt;/a&gt;RUNTIMEPRIORITY&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Determines how the resource manager should prioritize dedication of run-time resources (CPU, I/O bandwidth) to queries already running in this resource pool:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;RUNTIMEPRIORITY { HIGH | MEDIUM | LOW }
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;MEDIUM&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;RUNTIMEPRIORITYTHRESHOLD&#34;&gt;&lt;/a&gt;RUNTIMEPRIORITYTHRESHOLD&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Maximum time (in seconds) in which query processing must complete before the resource manager assigns to it the resource pool&#39;s &lt;code&gt;RUNTIMEPRIORITY&lt;/code&gt;. All queries begin execution with a priority of HIGH.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;RUNTIMEPRIORITYTHRESHOLD &lt;span class=&#34;code-variable&#34;&gt;seconds&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Default&lt;/strong&gt;: &lt;code&gt;2&lt;/code&gt;&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SINGLEINITIATOR&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Set to false for backward compatibility. Do not change this setting.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Set resource pool PRIORITY to 5:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER RESOURCE POOL ceo_pool PRIORITY 5;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Designate a secondary resource pool:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE RESOURCE POOL second_pool;
=&amp;gt; ALTER RESOURCE POOL ceo_pool CASCADE TO second_pool;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Decrease to 0% the &lt;span class=&#34;sql&#34;&gt;MAXMEMORYSIZE&lt;/span&gt; and &lt;span class=&#34;sql&#34;&gt;MEMORYSIZE&lt;/span&gt; settings on the &lt;code&gt;dashboard&lt;/code&gt; subcluster&#39;s built-in &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/resource-pool-architecture/built-resource-pools-config/#TM&#34;&gt;TM resource pool&lt;/a&gt;. Changing these settings to 0 prevents the subcluster from running mergeout operations:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER RESOURCE POOL TM FOR SUBCLUSTER dashboard MEMORYSIZE &amp;#39;0%&amp;#39;
   MAXMEMORYSIZE &amp;#39;0%&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/workload-best-practices/tuning-built-pools/tuning-tuple-mover-pool-settings/#&#34;&gt;Tuning tuple mover pool settings&lt;/a&gt; for more information.&lt;/p&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/statements/create-statements/create-resource-pool/#&#34;&gt;CREATE RESOURCE POOL&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-resource-pool/#&#34;&gt;DROP RESOURCE POOL&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-user/#&#34;&gt;CREATE USER&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/resource-pool-status/#&#34;&gt;RESOURCE_POOL_STATUS&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/set-statements/set-session-resource-pool/#&#34;&gt;SET SESSION RESOURCE_POOL&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/set-statements/set-session-memorycap/#&#34;&gt;SET SESSION MEMORYCAP&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/#&#34;&gt;Managing workloads&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER ROLE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-role/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-role/</guid>
      <description>
        
        
        &lt;p&gt;Renames an existing &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/&#34;&gt;role&lt;/a&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

You cannot use ALTER ROLE to rename a role that was added to the OpenText™ Analytics Database with the LDAPLink service.

&lt;/div&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;ALTER ROLE &lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt; RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
&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;name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The role to rename.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The role&#39;s new name.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER ROLE applicationadministrator RENAME TO appadmin;
ALTER ROLE
&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/statements/create-statements/create-role/#&#34;&gt;CREATE ROLE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-role/#&#34;&gt;DROP ROLE&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER ROUTING RULE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-routing-rule/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-routing-rule/</guid>
      <description>
        
        
        &lt;p&gt;Changes an existing load balancing policy routing rule.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER ROUTING RULE { &lt;span class=&#34;code-variable&#34;&gt;rule_name&lt;/span&gt; | FOR WORKLOAD &lt;span class=&#34;code-variable&#34;&gt;workload_name&lt;/span&gt; }  {
    RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new_name&lt;/span&gt; |
    SET ROUTE TO &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;cidr_range&lt;/span&gt;&amp;#39;|
    SET GROUP TO &lt;span class=&#34;code-variable&#34;&gt;group_name&lt;/span&gt; |
    SET WORKLOAD TO &lt;span class=&#34;code-variable&#34;&gt;workload_name&lt;/span&gt; |
    SET SUBCLUSTER TO &lt;span class=&#34;code-variable&#34;&gt;subcluster_name&lt;/span&gt; [,...] |
    SET PRIORITY TO &lt;span class=&#34;code-variable&#34;&gt;priority&lt;/span&gt; |
    { ADD | REMOVE } SUBCLUSTER &lt;span class=&#34;code-variable&#34;&gt;subcluster_name&lt;/span&gt; [,...] 
}
&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;rule_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the existing routing rule to change.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;FOR WORKLOAD &lt;/code&gt;&lt;em&gt;&lt;code&gt;workload_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of a &lt;a href=&#34;../../../../en/admin/managing-client-connections/connection-load-balancing/workload-routing/&#34;&gt;workload&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO new_name&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;The new name of the routing rule.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET ROUTE TO &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;cidr_range&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;An IPv4 or IPv6 address range in CIDR format. Changes the address range of client connections this rule applies to.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET GROUP TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;group_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The load balancing group that handles the connections that match this rule.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET WORKLOAD TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;workload_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the &lt;a href=&#34;../../../../en/admin/managing-client-connections/connection-load-balancing/workload-routing/&#34;&gt;workload&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET SUBCLUSTER TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;subcluster_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;One or more subclusters to &lt;a href=&#34;../../../../en/admin/managing-client-connections/connection-load-balancing/workload-routing/&#34;&gt;route&lt;/a&gt; clients to.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET PRIORITY TO &lt;/code&gt; &lt;em&gt;&lt;code&gt;priority&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Sets the priority for the routing rule, where &lt;em&gt;&lt;code&gt;priority&lt;/code&gt;&lt;/em&gt; is a non-negative &lt;a href=&#34;../../../../en/sql-reference/data-types/numeric-data-types/integer/#&#34;&gt;INTEGER&lt;/a&gt;. The greater the value, the greater the priority. If a user or their role is &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-workload/&#34;&gt;granted&lt;/a&gt; multiple &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-routing-rule/&#34;&gt;routing rules&lt;/a&gt;, the one with the greatest priority applies. You can set the priority for a routing rule only when applying a routing rule to a workload.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;{ADD | REMOVE} SUBCLUSTER &lt;/code&gt;&lt;em&gt;&lt;code&gt;subcluster_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Add or remove one or more subclusters from the routing rule.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;This example changes the routing rule named etl_rule so it uses the load balancing group named etl_rule to handle incoming connections in the IP address range of 10.20.100.0 to 10.20.100.255.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER ROUTING RULE etl_rule SET GROUP TO etl_group;
ALTER ROUTING RULE
=&amp;gt; ALTER ROUTING RULE etl_rule SET ROUTE TO &amp;#39;10.20.100.0/24&amp;#39;;
ALTER ROUTING RULE
=&amp;gt; \x
Expanded display is on.
=&amp;gt; SELECT * FROM routing_rules WHERE NAME = &amp;#39;etl_rule&amp;#39;;
-[ RECORD 1 ]----+---------------
name             | etl_rule
source_address   | 10.20.100.0/24
destination_name | etl_group
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This example routes &lt;code&gt;analytics&lt;/code&gt; workloads to the &lt;code&gt;sc_analytics_2&lt;/code&gt; subcluster:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ROUTING&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RULE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FOR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WORKLOAD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;analytics&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SUBCLUSTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;`&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;sc_analytics_2&lt;/span&gt;&lt;span class=&#34;o&#34;&gt;`&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;This example changes the workload rule to handle &lt;code&gt;reporting&lt;/code&gt; instead of &lt;code&gt;analytics&lt;/code&gt; workloads:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ROUTING&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RULE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FOR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WORKLOAD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;analytics&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WORKLOAD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;reporting&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;This example changes the priority of the workload rule for &lt;code&gt;reporting&lt;/code&gt; workloads:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ROUTING&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RULE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FOR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WORKLOAD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;reporting&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;PRIORITY&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;5&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;This example adds a subcluster to the routing rule:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ROUTING&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RULE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FOR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WORKLOAD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;analytics&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ADD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SUBCLUSTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;sc_01&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 class=&#34;n&#34;&gt;sc_02&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;This example removes a subcluster from the routing rule:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ROUTING&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RULE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FOR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;WORKLOAD&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;analytics&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;REMOVE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;SUBCLUSTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;sc_01&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 class=&#34;n&#34;&gt;sc_02&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;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/statements/create-statements/create-routing-rule/#&#34;&gt;CREATE ROUTING RULE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-routing-rule/#&#34;&gt;DROP ROUTING RULE&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER SCHEDULE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-schedule/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-schedule/</guid>
      <description>
        
        
        &lt;p&gt;Modifies a &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-schedule/&#34;&gt;schedule&lt;/a&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;ALTER SCHEDULE [[&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;schedule&lt;/span&gt; {
          OWNER TO &lt;span class=&#34;code-variable&#34;&gt;new_owner&lt;/span&gt;
        | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new_schema&lt;/span&gt;
        | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new_schedule&lt;/span&gt;
        | USING CRON &lt;span class=&#34;code-variable&#34;&gt;new_cron_expression&lt;/span&gt;
        | USING DATETIMES &lt;span class=&#34;code-variable&#34;&gt;new_timestamp_list&lt;/span&gt;
    }
&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;schedule&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The schedule to modify.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_owner&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new owner of the schedule.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new schema of the schedule.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_schedule&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new name for the schedule.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_cron_expression&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A &lt;code&gt;cron&lt;/code&gt; expression. You should use this for recurring tasks. Value separators are not currently supported.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_timestamp_list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A comma-separated list of timestamps. You should use this to schedule non-recurring events at arbitrary times.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;To change the &lt;code&gt;cron&lt;/code&gt; expression for a schedule:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER SCHEDULE daily_schedule USING CRON &amp;#39;0 8 * * *&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To change a schedule that uses a &lt;code&gt;cron&lt;/code&gt; expression to use a timestamp list instead:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER SCHEDULE my_schedule USING DATETIMES(&amp;#39;2023-10-01 12:30:00&amp;#39;, &amp;#39;2022-11-01 12:30:00&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To rename a schedule:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER SCHEDULE daily_schedule RENAME TO daily_8am_gmt;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER SCHEMA</title>
      <link>/en/sql-reference/statements/alter-statements/alter-schema/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-schema/</guid>
      <description>
        
        
        &lt;p&gt;Changes one or more schemas in one of the following ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Enable or disable inheritance of schema privileges by tables created in the schemas.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reassign schema ownership to another user.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change schema disk quota.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Rename one or more schemas.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER SCHEMA [{ &lt;span class=&#34;code-variable&#34;&gt;namespace&lt;/span&gt;. | &lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;. }]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;
    DEFAULT {INCLUDE | EXCLUDE} SCHEMA PRIVILEGES
    | OWNER TO &lt;span class=&#34;code-variable&#34;&gt;user-name&lt;/span&gt; [CASCADE]
    | DISK_QUOTA { &lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt; | SET NULL }
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can rename more than one schema in a single operation:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER SCHEMA [{ &lt;span class=&#34;code-variable&#34;&gt;namespace&lt;/span&gt;. | &lt;span class=&#34;code-variable&#34;&gt;database&lt;/span&gt;. }]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;[,...] RENAME TO [&lt;span class=&#34;code-variable&#34;&gt;namespace&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;new-schema-name&lt;/span&gt;[,...]
&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;namespace&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;For Eon Mode databases, &lt;a href=&#34;../../../../en/architecture/eon-concepts/shards-and-subscriptions/&#34;&gt;namespace&lt;/a&gt; of the schema to alter. If no namespace is specified, the namespace of the schema is assumed to be &lt;code&gt;default_namespace&lt;/code&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;For Enterprise Mode databases, name of the database containing the schema. If specified, it must be the current database.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the schema to modify.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;DEFAULT {INCLUDE | EXCLUDE} SCHEMA PRIVILEGES&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Specifies whether to enable or disable default inheritance of privileges for new tables in the specified schema:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;EXCLUDE SCHEMA PRIVILEGES&lt;/code&gt; (default): Disables inheritance of schema privileges.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;INCLUDE SCHEMA PRIVILEGES&lt;/code&gt;: Specifies to grant tables in the specified schema the same privileges granted to that schema. This option has no effect on existing tables in the schema.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;See also &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/inherited-privileges/enabling-schema-inheritance/#&#34;&gt;Enabling schema inheritance&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Reassigns schema ownership to the specified user:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;OWNER TO &lt;span class=&#34;code-variable&#34;&gt;user-name&lt;/span&gt; [CASCADE]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;By default, ownership of objects in the reassigned schema remain unchanged. To reassign ownership of schema objects to the new schema owner, qualify the &lt;span class=&#34;sql&#34;&gt;OWNER TO&lt;/span&gt; clause with &lt;span class=&#34;sql&#34;&gt;CASCADE&lt;/span&gt;. For details, see &lt;a href=&#34;#Cascadin&#34;&gt;Cascading Schema Ownership&lt;/a&gt; below.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;DISK_QUOTA&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;One of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A string, an integer followed by a supported unit: K, M, G, or T. If the new value is smaller than the current usage, the operation succeeds but no further disk space can be used until usage is reduced below the new quota.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;SET NULL&lt;/span&gt; to remove a quota.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information, see &lt;a href=&#34;../../../../en/admin/working-with-native-tables/disk-quotas/#&#34;&gt;Disk quotas&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Renames one or more schemas:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;RENAME TO [&lt;span class=&#34;code-variable&#34;&gt;namespace&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;new-schema-name&lt;/span&gt;[,...]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following requirements apply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The new schema name conforms to conventions described in &lt;a href=&#34;../../../../en/sql-reference/language-elements/identifiers/#&#34;&gt;Identifiers&lt;/a&gt;. It must also be unique among all names of sequences, tables, projections, views, models, and schemas in the namespace.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you specify multiple schemas to rename, the source and target lists must have the same number of names.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you specified the &lt;em&gt;&lt;code&gt;namespace&lt;/code&gt;&lt;/em&gt; of the schema to alter, you must provide the same namespace for the &lt;em&gt;&lt;code&gt;new-schema-name&lt;/code&gt;&lt;/em&gt;. You cannot rename a schema to a different namespace.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

Renaming a schema referenced by a view causes the view to fail unless another schema is created to replace it.

&lt;/div&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;One of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Schema owner&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Cascadin&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;cascading-schema-ownership&#34;&gt;Cascading schema ownership&lt;/h2&gt;
&lt;p&gt;By default, &lt;span class=&#34;sql&#34;&gt;ALTER SCHEMA...OWNER TO&lt;/span&gt; does not affect ownership of objects in the target schema or the privileges granted on them. If you qualify the &lt;span class=&#34;sql&#34;&gt;OWNER TO&lt;/span&gt; clause with &lt;span class=&#34;sql&#34;&gt;CASCADE&lt;/span&gt;, OpenText™ Analytics Database acts as follows on objects in the target schema:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Transfers ownership of objects owned by the previous schema owner to the new owner.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Revokes all object privileges granted by the previous schema owner.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If issued by non-superusers, &lt;span class=&#34;sql&#34;&gt;ALTER SCHEMA...OWNER TO CASCADE&lt;/span&gt; ignores all objects that belong to other users, and returns with notices on the objects that it cannot change. For example:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Schema &lt;code&gt;ms&lt;/code&gt; is owned by user &lt;code&gt;mayday&lt;/code&gt;, and contains two tables: &lt;code&gt;ms.t1&lt;/code&gt; owned by mayday, and &lt;code&gt;ms.t2&lt;/code&gt; owned by user &lt;code&gt;joe&lt;/code&gt;:&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;err&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;dt&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;                           &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;List&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;of&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tables&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;Schema&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;         &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Name&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;          &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Kind&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;Owner&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;o&#34;&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&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;----------------+-----------------------+-------+---------+---------
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;             &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;                    &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;table&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;mayday&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;             &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t2&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;                    &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;table&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;joe&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;o&#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;/li&gt;
&lt;li&gt;
&lt;p&gt;User &lt;code&gt;mayday&lt;/code&gt; transfers ownership of schema &lt;code&gt;ms&lt;/code&gt; to user &lt;code&gt;dbadmin&lt;/code&gt;, using &lt;span class=&#34;sql&#34;&gt;CASCADE&lt;/span&gt;. On return, &lt;span class=&#34;sql&#34;&gt;ALTER SCHEMA&lt;/span&gt; reports that it cannot transfer ownership of table &lt;code&gt;ms.t2&lt;/code&gt; and its projections, which are owned by user &lt;code&gt;joe&lt;/code&gt;:&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;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&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;err&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;-&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;mayday&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;You&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;are&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;now&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;connected&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;as&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;user&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;mayday&amp;#34;&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;OWNER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;dbadmin&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CASCADE&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NOTICE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;3583&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 class=&#34;n&#34;&gt;Insufficient&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;privileges&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;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t2&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NOTICE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;3583&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 class=&#34;n&#34;&gt;Insufficient&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;privileges&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;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t2_b0&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;NOTICE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;3583&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 class=&#34;n&#34;&gt;Insufficient&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;privileges&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;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t2_b1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&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;err&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;c&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;You&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;are&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;now&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;connected&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;as&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;user&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s2&#34;&gt;&amp;#34;dbadmin&amp;#34;&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&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;err&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;dt&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;                           &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;List&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;of&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tables&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;Schema&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;         &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Name&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;          &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Kind&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;Owner&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;o&#34;&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&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;----------------+-----------------------+-------+---------+---------
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;             &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;                    &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;table&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;dbadmin&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;             &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t2&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;                    &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;table&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;joe&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;o&#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;/li&gt;
&lt;li&gt;
&lt;p&gt;User &lt;code&gt;dbadmin&lt;/code&gt; transfers ownership of schema &lt;code&gt;ms&lt;/code&gt; to user &lt;code&gt;pat&lt;/code&gt;, again using &lt;span class=&#34;sql&#34;&gt;CASCADE&lt;/span&gt;. This time, because &lt;code&gt;dbadmin&lt;/code&gt; is a superuser, &lt;span class=&#34;sql&#34;&gt;ALTER SCHEMA&lt;/span&gt; transfers ownership of all &lt;code&gt;ms&lt;/code&gt; tables to user &lt;code&gt;pat&lt;/code&gt;&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;OWNER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;pat&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;CASCADE&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&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;err&#34;&gt;\&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;dt&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;                           &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;List&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;of&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;tables&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;Schema&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;         &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Name&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;          &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;Kind&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;Owner&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;  &lt;/span&gt;&lt;span class=&#34;o&#34;&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&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;----------------+-----------------------+-------+---------+---------
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;             &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;                    &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;table&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;pat&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ms&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;             &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t2&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;                    &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;table&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;pat&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;     &lt;/span&gt;&lt;span class=&#34;o&#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;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;swapping-schemas&#34;&gt;Swapping schemas&lt;/h2&gt;
&lt;p&gt;Renaming schemas is useful for swapping schemas without actually moving data. To facilitate the swap, enter a non-existent, temporary placeholder schema. For example, the following &lt;code&gt;ALTER SCHEMA&lt;/code&gt; statement uses the temporary schema &lt;em&gt;&lt;code&gt;temps&lt;/code&gt;&lt;/em&gt; to facilitate swapping schema S1 with schema S2. In this example, &lt;em&gt;&lt;code&gt;S1&lt;/code&gt;&lt;/em&gt; is renamed to &lt;em&gt;&lt;code&gt;temps&lt;/code&gt;&lt;/em&gt;. Then &lt;em&gt;&lt;code&gt;S2&lt;/code&gt;&lt;/em&gt; is renamed to &lt;em&gt;&lt;code&gt;S1&lt;/code&gt;&lt;/em&gt;. Finally, &lt;em&gt;&lt;code&gt;temps&lt;/code&gt;&lt;/em&gt; is renamed to &lt;em&gt;&lt;code&gt;S2&lt;/code&gt;&lt;/em&gt;.&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;S1&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 class=&#34;n&#34;&gt;S2&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 class=&#34;n&#34;&gt;temps&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RENAME&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;temps&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 class=&#34;n&#34;&gt;S1&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 class=&#34;n&#34;&gt;S2&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;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;The following example renames schemas &lt;code&gt;S1&lt;/code&gt; and &lt;code&gt;S2&lt;/code&gt; to &lt;code&gt;S3&lt;/code&gt; and &lt;code&gt;S4&lt;/code&gt;, respectively:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;S1&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 class=&#34;n&#34;&gt;S2&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RENAME&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;S3&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 class=&#34;n&#34;&gt;S4&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;This example sets the default behavior for new table &lt;code&gt;t2&lt;/code&gt; to automatically inherit the schema&#39;s privileges:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;s1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;DEFAULT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;INCLUDE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;PRIVILEGES&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&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;CREATE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TABLE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;s1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;t2&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;i&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 class=&#34;nb&#34;&gt;int&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;This example sets the default for new tables to not automatically inherit privileges from the schema:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;s1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;DEFAULT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;EXCLUDE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;PRIVILEGES&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;In an Eon Mode database, the following statement renames the &lt;code&gt;train&lt;/code&gt; schema to &lt;code&gt;ferry&lt;/code&gt; in the &lt;code&gt;transit&lt;/code&gt; namespace:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;transit&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;train&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RENAME&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;transit&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ferry&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;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/statements/create-statements/create-schema/#&#34;&gt;CREATE SCHEMA&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-schema/#&#34;&gt;DROP SCHEMA&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER SEQUENCE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-sequence/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-sequence/</guid>
      <description>
        
        
        &lt;p&gt;Changes a sequence in two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Changes values that control sequence behavior—for example, its start value and range of minimum and maximum values. These changes take effect only when you start a new database session.&lt;/li&gt;
&lt;li&gt;Changes sequence name, schema, or ownership. These changes take effect immediately.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;p&gt;Change sequence behavior:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER 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;
    [ INCREMENT [ BY ] &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; ]
    [ MINVALUE &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; | NO MINVALUE ]
    [ MAXVALUE &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; | NO MAXVALUE ]
    [ RESTART [ WITH ] &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; ]
    [ CACHE &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; | NO CACHE ]
    [ CYCLE | NO CYCLE ]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Change sequence name, schema, or ownership:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER SEQUENCE [&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;sequence-name &lt;/span&gt;{
    RENAME TO &lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;]
    | OWNER TO &lt;span class=&#34;code-variable&#34;&gt;owner
&lt;/span&gt;}
&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;sequence&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the sequence to alter.
&lt;p&gt;In the case of IDENTITY table columns, OpenText™ Analytics Database generates the sequence name using the following convention:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;table-name&lt;/span&gt;_&lt;span class=&#34;code-variable&#34;&gt;col-name&lt;/span&gt;_seq
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To obtain this name, query the &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/sequences/#&#34;&gt;SEQUENCES&lt;/a&gt; system table.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;INCREMENT&lt;/code&gt; &lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;Positive or negative minimum value change on each call to &lt;a href=&#34;../../../../en/sql-reference/functions/data-type-specific-functions/sequence-functions/nextval/#&#34;&gt;NEXTVAL&lt;/a&gt;. The default is 1.&lt;/p&gt;
&lt;p&gt;This value is a minimum increment size.  The sequence can increment by more than this value unless you also specify &lt;code&gt;NO CACHE&lt;/code&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;MINVALUE&lt;/code&gt; &lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt; &lt;code&gt;| NO MINVALUE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Minimum value the sequence can generate. If this change would invalidate the current sequence position, the operation fails.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;MAXVALUE&lt;/code&gt; &lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt; &lt;code&gt;| NO MAXVALUE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Maximum value the sequence can generate. If this change would invalidate the current sequence position, the operation fails.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RESTART&lt;/code&gt; &lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;New start value of the sequence. The next call to &lt;a href=&#34;../../../../en/sql-reference/functions/data-type-specific-functions/sequence-functions/nextval/#&#34;&gt;NEXTVAL&lt;/a&gt; returns the new start value.

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

Using ALTER SEQUENCE to set a sequence start value below its &lt;a href=&#34;../../../../en/sql-reference/functions/data-type-specific-functions/sequence-functions/currval/&#34;&gt;current value&lt;/a&gt; can result in duplicate keys.

&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CACHE | NO CACHE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;p&gt;How many unique sequence numbers to pre-allocate and store in memory on each node for faster access. OpenText™ Analytics Database sets up caching for each session and distributes it across all nodes.  A value of 0 or 1 is equivalent to &lt;code&gt;NO CACHE&lt;/code&gt;.

&lt;div class=&#34;admonition caution&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Caution&lt;/h4&gt;

If sequence caching is set to a low number, nodes might request a new set of cache values more frequently. While it supplies a new cache, the database must lock the catalog. Until the database releases the lock, other database activities such as table inserts are blocked, which can adversely affect overall performance.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;By default, the sequence cache is set to 250,000.&lt;/p&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/admin/working-with-native-tables/sequences/named-sequences/distributing-sequences/#&#34;&gt;Distributing sequences&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CYCLE | NO CYCLE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;How to handle reaching the end of the sequence.  The default is &lt;code&gt;NO CYCLE&lt;/code&gt;, meaning that a call to &lt;a href=&#34;../../../../en/sql-reference/functions/data-type-specific-functions/sequence-functions/nextval/#&#34;&gt;NEXTVAL&lt;/a&gt; returns an error after the sequence reaches its upper or lower limit. &lt;code&gt;CYCLE&lt;/code&gt; instead wraps, as follows:
&lt;ul&gt;
&lt;li&gt;Ascending sequence: wraps to the minimum value.&lt;/li&gt;
&lt;li&gt;Descending sequence: wraps to the maximum value.&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO&lt;/code&gt; &lt;em&gt;&lt;code&gt;name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;New name in the current schema for the sequence. Supported only for &lt;a href=&#34;../../../../en/admin/working-with-native-tables/sequences/named-sequences/&#34;&gt;named sequences&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET SCHEMA&lt;/code&gt; &lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Moves the sequence to a new schema. Supported only for named sequences.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO&lt;/code&gt; &lt;em&gt;&lt;code&gt;owner&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Reassigns sequence ownership to another user.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;For &lt;a href=&#34;../../../../en/admin/working-with-native-tables/sequences/named-sequences/&#34;&gt;named sequences&lt;/a&gt;, USAGE on the schema and one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Sequence owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the sequence&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;For certain operations, non-superusers must have the following schema privileges:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To rename a sequence: CREATE, USAGE&lt;/li&gt;
&lt;li&gt;To move a sequence to another schema: CREATE on the destination, USAGE on the source&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For &lt;a href=&#34;../../../../en/admin/working-with-native-tables/sequences/identity-sequences/&#34;&gt;IDENTITY&lt;/a&gt; column sequences, USAGE on the table schema and one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Table owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privileges&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Non-superusers must also have SELECT privileges to enable or disable &lt;a href=&#34;../../../../en/admin/constraints/constraint-enforcement/&#34;&gt;constraint enforcement&lt;/a&gt;, or remove partitioning.&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/admin/working-with-native-tables/sequences/named-sequences/altering-sequences/#&#34;&gt;Altering sequences&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-sequence/#&#34;&gt;CREATE SEQUENCE&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER SESSION</title>
      <link>/en/sql-reference/statements/alter-statements/alter-session/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-session/</guid>
      <description>
        
        
        &lt;p&gt;ALTER SESSION sets and clears session-level configuration parameter values for the current session. To identify session-level parameters, query the &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/config-parameters/#&#34;&gt;CONFIGURATION_PARAMETERS&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;ALTER SESSION {
    SET [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;parameter&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;[,...]
    | CLEAR { [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;parameter&lt;/span&gt;[,...] | PARAMETER ALL }
    | SET UDPARAMETER [ FOR &lt;span class=&#34;code-variable&#34;&gt;libname&lt;/span&gt; ] &lt;span class=&#34;code-variable&#34;&gt;ud-parameter&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;[,...]
    | CLEAR UDPARAMETER { [ FOR &lt;span class=&#34;code-variable&#34;&gt;libname&lt;/span&gt; ] &lt;span class=&#34;code-variable&#34;&gt;ud-parameter&lt;/span&gt;[,...] | ALL }
}
&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;SET [PARAMETER]&lt;/code&gt; &lt;em&gt;&lt;code&gt;parameter&lt;/code&gt;&lt;/em&gt;&lt;code&gt;=&lt;/code&gt;&lt;em&gt;&lt;code&gt;value&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Sets one or more configuration parameters to the specified value.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CLEAR { [PARAMETER]&lt;/code&gt; &lt;em&gt;&lt;code&gt;parameter&lt;/code&gt;&lt;/em&gt; &lt;code&gt;| PARAMETER ALL }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Clears the specified configuration parameters, or all parameters, of changes that were set in the current session.&lt;/dd&gt;
&lt;dt&gt;&lt;a name=&#34;SET_UDPARAMETER&#34;&gt;&lt;/a&gt;&lt;/dt&gt;
&lt;dt&gt;&lt;code&gt;SET UDPARAMETER [ FOR &lt;/code&gt;&lt;em&gt;&lt;code&gt;libname&lt;/code&gt;&lt;/em&gt; &lt;code&gt;] &lt;/code&gt;&lt;em&gt;&lt;code&gt;ud-parameter&lt;/code&gt;&lt;/em&gt;&lt;code&gt;=&lt;/code&gt;&lt;em&gt;&lt;code&gt;value&lt;/code&gt;&lt;/em&gt;&lt;code&gt;[,...]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Sets one or more &lt;a href=&#34;../../../../en/extending/developing-udxs/udx-parameters/user-defined-session-parameters/&#34;&gt;user-defined session parameters&lt;/a&gt; to be used with UDxs. The maximum length of a parameter name when set with ALTER SESSION is 128 characters.
&lt;p&gt;If you specify a library, then only that library can access the parameter&#39;s value. Use this restriction to protect parameters that hold sensitive data, such as credentials.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CLEAR UDPARAMETER { [ FOR &lt;/code&gt;&lt;em&gt;&lt;code&gt;libname&lt;/code&gt;&lt;/em&gt; &lt;code&gt;] &lt;/code&gt;&lt;em&gt;&lt;code&gt;ud-parameter&lt;/code&gt;&lt;/em&gt;&lt;code&gt;[,...] | ALL }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Clears the specified user-defined parameters, or all of them, of changes that were set in the current session.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;None&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Set a configuration parameter:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SESSION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ForceUDxFencedMode&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SESSION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;    
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&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;SELECT&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;parameter_name&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 class=&#34;n&#34;&gt;current_value&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 class=&#34;n&#34;&gt;default_value&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FROM&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CONFIGURATION_PARAMETERS&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;WHERE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;parameter_name&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;s1&#34;&gt;&amp;#39;ForceUDxFencedMode&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;parameter_name&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;   &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;current_value&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;default_value&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;c1&#34;&gt;--------------------+---------------+---------------
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;ForceUDxFencedMode&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;             &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;|&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;0&lt;/span&gt;&lt;span class=&#34;w&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;(&lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;row&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;Clear all session-level settings for configuration parameters:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SESSION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;CLEAR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;PARAMETER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALL&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SESSION&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;Set a UDx parameter in a single library:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SESSION&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;UDPARAMETER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;FOR&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;MyLibrary&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;RowCount&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;mi&#34;&gt;25&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SESSION&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: ALTER SUBCLUSTER</title>
      <link>/en/sql-reference/statements/alter-statements/alter-subcluster/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-subcluster/</guid>
      <description>
        
        
        &lt;p&gt;Changes the configuration of a subcluster. You can use this statement to rename a subcluster or make it the &lt;a class=&#34;glosslink&#34; href=&#34;../../../../en/glossary/default-subcluster/&#34; title=&#34;The default subcluster is the subcluster OpenText&amp;amp;trade; Analytics Database adds new nodes to if you do not specify a subcluster to contain the new nodes.&#34;&gt;default subcluster&lt;/a&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;ALTER SUBCLUSTER &lt;span class=&#34;code-variable&#34;&gt;subcluster-name &lt;/span&gt;{
    RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt; |
    SET DEFAULT
}
&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;subcluster-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the subcluster to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Changes the name of the subcluster to &lt;em&gt;&lt;code&gt;new-name&lt;/code&gt;&lt;/em&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET DEFAULT&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Makes the subcluster the default subcluster. When you add new nodes to the database and do not specify a subcluster to contain them, OpenText™ Analytics Database adds them to the default subcluster. There can be only one default subcluster at a time. The subcluster that was previously the default subcluster becomes a non-default subcluster.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;

Superuser
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;This example makes the analytics_cluster the default subcluster:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT DISTINCT subcluster_name FROM SUBCLUSTERS WHERE is_default = true;
  subcluster_name
--------------------
 default_subcluster
(1 row)

=&amp;gt; ALTER SUBCLUSTER analytics_cluster SET DEFAULT;
ALTER SUBCLUSTER
=&amp;gt; SELECT DISTINCT subcluster_name FROM SUBCLUSTERS WHERE is_default = true;
  subcluster_name
-------------------
 analytics_cluster
(1 row)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This example renames default_subcluster to load_subcluster:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER SUBCLUSTER default_subcluster RENAME TO load_subcluster;
ALTER SUBCLUSTER

=&amp;gt; SELECT DISTINCT subcluster_name FROM subclusters;
  subcluster_name
-------------------
 load_subcluster
 analytics_cluster
(2 rows)
&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-monitor-schema/critical-subclusters/&#34;&gt;CRITICAL_SUBCLUSTERS&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/eon-functions/demote-subcluster-to-secondary/&#34;&gt;DEMOTE_SUBCLUSTER_TO_SECONDARY&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/eon-functions/promote-subcluster-to-primary/&#34;&gt;PROMOTE_SUBCLUSTER_TO_PRIMARY&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/eon-functions/shutdown-subcluster/&#34;&gt;SHUTDOWN_SUBCLUSTER&lt;/a&gt;&lt;/li&gt;
	
	&lt;li&gt;&lt;a href=&#34;../../../../en/sql-reference/system-tables/v-catalog-schema/subclusters/&#34;&gt;SUBCLUSTERS&lt;/a&gt;&lt;/li&gt;
	
&lt;/ul&gt;



      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER SUBNET</title>
      <link>/en/sql-reference/statements/alter-statements/alter-subnet/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-subnet/</guid>
      <description>
        
        
        &lt;p&gt;Renames an existing subnet.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER SUBNET &lt;span class=&#34;code-variable&#34;&gt;subnet-name&lt;/span&gt; RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-subnet-name&lt;/span&gt;
&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;subnet-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the existing subnet.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new-subnet-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new name for the subnet.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER SUBNET mysubnet RENAME TO myNewSubnet;
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER TABLE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-table/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-table/</guid>
      <description>
        
        
        &lt;p&gt;Modifies the metadata of an existing table. All changes are auto-committed.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER TABLE [[{ &lt;span class=&#34;code-variable&#34;&gt;namespace&lt;/span&gt;. | &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; {
    ADD COLUMN [ IF NOT EXISTS ] &lt;span class=&#34;code-variable&#34;&gt;column&lt;/span&gt; &lt;span class=&#34;code-variable&#34;&gt;datatype&lt;/span&gt;
       [ &lt;span class=&#34;code-variable&#34;&gt;column‑constraint&lt;/span&gt; ]
       [ ENCODING &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-projection/encoding-types/#&#34;&gt;encoding-type&lt;/a&gt;&lt;/span&gt; ]
       [ PROJECTIONS (&lt;span class=&#34;code-variable&#34;&gt;projections-list&lt;/span&gt;) | ALL PROJECTIONS ]
       [, ...]
    | ADD &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/table-constraint/#&#34;&gt;table-constraint&lt;/a&gt;&lt;/span&gt;
    | ALTER COLUMN &lt;span class=&#34;code-variable&#34;&gt;column&lt;/span&gt; {
        ENCODING &lt;span class=&#34;code-variable&#34;&gt;encoding-type&lt;/span&gt; PROJECTIONS (&lt;span class=&#34;code-variable&#34;&gt;projection-list&lt;/span&gt;)
        | { SET | DROP } &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt; }
    | ALTER CONSTRAINT &lt;span class=&#34;code-variable&#34;&gt;constraint-name&lt;/span&gt; { ENABLED | DISABLED }
    | DISK_QUOTA { &lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt; | SET NULL }
    | DROP CONSTRAINT &lt;span class=&#34;code-variable&#34;&gt;constraint-name&lt;/span&gt; [ CASCADE | RESTRICT ]
    | DROP [ COLUMN ] [ IF EXISTS ] &lt;span class=&#34;code-variable&#34;&gt;column&lt;/span&gt; [ CASCADE | RESTRICT ]
    | FORCE OUTER &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt;
    | { INCLUDE | EXCLUDE | MATERIALIZE } [ SCHEMA ] PRIVILEGES
    | OWNER TO &lt;span class=&#34;code-variable&#34;&gt;owner&lt;/span&gt;
    | &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/partition-clause/#&#34;&gt;partition-clause&lt;/a&gt;&lt;/span&gt; [ REORGANIZE ]
    | REMOVE PARTITIONING
    | RENAME [ COLUMN ] &lt;span class=&#34;code-variable&#34;&gt;name&lt;/span&gt; TO &lt;span class=&#34;code-variable&#34;&gt;new‑name&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-table-name&lt;/span&gt;[,...]
    | REORGANIZE
    | SET {
        ActivePartitionCount {&lt;span class=&#34;code-variable&#34;&gt; count&lt;/span&gt; | DEFAULT }
        | IMMUTABLE ROWS
        | MERGEOUT { 1 | 0 }
        | SCHEMA [&lt;span class=&#34;code-variable&#34;&gt;namespace&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;schema &lt;/span&gt;}
}
&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;p&gt;Several ALTER TABLE clauses cannot be specified with other clauses in the same statement (see &lt;a href=&#34;#Exclusiv&#34;&gt;Exclusive ALTER TABLE Clauses&lt;/a&gt; below). Otherwise, ALTER TABLE supports multiple comma-delimited clauses. For example, the following ALTER TABLE statement changes the &lt;code&gt;my_table&lt;/code&gt; table in two ways: reassigns ownership to &lt;code&gt;Joe&lt;/code&gt;, and sets a &lt;span class=&#34;sql&#34;&gt;UNIQUE&lt;/span&gt; constraint on the &lt;code&gt;b&lt;/code&gt; column:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER TABLE my_table OWNER TO Joe,
   ADD CONSTRAINT unique_b UNIQUE (b) ENABLED;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h2 id=&#34;arguments&#34;&gt;Arguments&lt;/h2&gt;
&lt;dl&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;namespace&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;For Eon Mode databases, &lt;a href=&#34;../../../../en/architecture/eon-concepts/shards-and-subscriptions/&#34;&gt;namespace&lt;/a&gt; that contains the table to alter. If no namespace is specified, the namespace of the table is assumed to be &lt;code&gt;default_namespace&lt;/code&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;database&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;For Enterprise Mode databases, name of the database containing the table. If specified, it must be the current database.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the schema that contains the table to alter.&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 table to alter.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;AddColumn&#34;&gt;&lt;/a&gt;ADD COLUMN&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Adds one or more columns to the table and to the specified projections (or all projections, if not specified).
&lt;p&gt;Adding a column with the same name as one that already exists is an error unless you use IF NOT EXISTS.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;#Restrict&#34;&gt;Restrictions on columns of complex types&lt;/a&gt; also apply to columns that you add using ADD COLUMN.&lt;/p&gt;
&lt;p&gt;You can qualify the new column definition with one or more of these options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A column constraint:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;  [ CONSTRAINT &lt;span class=&#34;code-variable&#34;&gt;constraint-name&lt;/span&gt; ]
  { [NOT] NULL 
    | DEFAULT &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt; 
    | SET USING &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt; 
    | DEFAULT USING &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt; }
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Columns that use DEFAULT with static values can be added in a single ALTER TABLE statement. Columns that use non-static DEFAULT values must be added in separate ALTER TABLE statements.  For more information, see &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/column-constraint/#&#34;&gt;Column-constraint&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ENCODING&lt;/code&gt;: the column &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-projection/encoding-types/&#34;&gt;encoding type&lt;/a&gt;, by default &lt;code&gt;AUTO&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PROJECTIONS&lt;/code&gt;: a comma-separated list of &lt;a href=&#34;../../../../en/admin/projections/projection-naming/&#34;&gt;base names&lt;/a&gt; of existing projections to add the column to. OpenText™ Analytics Database adds the column to all buddies of each projection. The projection list cannot include projections with &lt;a href=&#34;../../../../en/data-analysis/data-aggregation/pre-aggregating-data-projections/&#34;&gt;pre-aggregated data&lt;/a&gt; such as live aggregate projections.  Instead of specifying projections, you can use &lt;code&gt;ALL PROJECTIONS&lt;/code&gt; to add the column to all projections, excluding those with pre-aggregated data.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;AddConstraint&#34;&gt;&lt;/a&gt;ADD &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/table-constraint/#&#34;&gt;table‑constraint&lt;/a&gt;&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Adds a &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/table-constraint/&#34;&gt;constraint&lt;/a&gt; to a table that does not have any associated projections.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;AlterColumn&#34;&gt;&lt;/a&gt;ALTER COLUMN&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;You can alter an existing column in one of two ways:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Set encoding on a column for one or more projections of this table:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ENCODING &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-projection/encoding-types/#&#34;&gt;encoding-type&lt;/a&gt;&lt;/span&gt; PROJECTIONS (&lt;span class=&#34;code-variable&#34;&gt;projections-list&lt;/span&gt;)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;where &lt;em&gt;&lt;code&gt;projections-list&lt;/code&gt;&lt;/em&gt; is a comma-delimited list of projections to update with the new encoding. You can specify each projection in two ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Projection base name: Update all projections that share this base name.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Projection name: Update the specified projection. If the projection is segmented, the change is propagated to all buddies.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If one of the projections does not contain the target column, the database returns with a rollback error.&lt;/p&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/sql-reference/statements/alter-statements/alter-table/projection-column-encoding/#Change&#34;&gt;Projection Column Encoding&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set or drop a setting for a column of scalar data, including primitive arrays:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;SET { &lt;a href=&#34;../../../../en/admin/working-with-native-tables/managing-table-columns/defining-column-values/#&#34;&gt;DEFAULT &lt;/a&gt;&lt;span class=&#34;code-variable&#34;&gt;expression
      &lt;/span&gt;    | &lt;a href=&#34;../../../../en/admin/working-with-native-tables/managing-table-columns/defining-column-values/#&#34;&gt;USING &lt;/a&gt;&lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt;
    | DEFAULT USING &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt;
    | &lt;a href=&#34;../../../../en/admin/constraints/supported-constraints/not-null-constraints/#&#34;&gt;NOT NULL&lt;/a&gt;
    | &lt;a href=&#34;../../../../en/admin/working-with-native-tables/managing-table-columns/changing-scalar-column-data-type/#&#34;&gt;DATA TYPE&lt;/a&gt; &lt;span class=&#34;code-variable&#34;&gt;datatype&lt;/span&gt;
}
DROP { DEFAULT
     | SET USING
     | DEFAULT USING
     | NOT NULL
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You cannot change the data type of a column of any complex type that is neither a scalar type nor an array of scalar types. One exception applies: in external tables, you can change a primitive column type to a complex type.&lt;/p&gt;
&lt;p&gt;Setting a &lt;span class=&#34;sql&#34;&gt;DEFAULT&lt;/span&gt; or &lt;span class=&#34;sql&#34;&gt;SET USING&lt;/span&gt; expression has no effect on existing column values. To refresh the column with its &lt;span class=&#34;sql&#34;&gt;DEFAULT&lt;/span&gt; or &lt;span class=&#34;sql&#34;&gt;SET USING&lt;/span&gt; expression, update it as follows&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;SET USING&lt;/span&gt; column: Call &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/projection-functions/refresh-columns/#&#34;&gt;REFRESH_COLUMNS&lt;/a&gt; on the table.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;DEFAULT&lt;/span&gt; column: update the column as follows:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;UPDATE &lt;span class=&#34;code-variable&#34;&gt;table-name&lt;/span&gt; SET &lt;span class=&#34;code-variable&#34;&gt;column-name&lt;/span&gt;=DEFAULT;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Altering a column with &lt;span class=&#34;sql&#34;&gt;DEFAULT&lt;/span&gt; or &lt;span class=&#34;sql&#34;&gt;SET USING&lt;/span&gt; can increase disk usage, which can cause the operation to fail if it would violate the table or schema disk quota.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;AlterConstraint&#34;&gt;&lt;/a&gt;ALTER CONSTRAINT&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to &lt;a href=&#34;../../../../en/admin/constraints/constraint-enforcement/&#34;&gt;enforce&lt;/a&gt; primary key, unique key, and check constraints:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER CONSTRAINT &lt;span class=&#34;code-variable&#34;&gt;constraint-name&lt;/span&gt; {ENABLED | DISABLED}
&lt;/code&gt;&lt;/pre&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;DISK_QUOTA&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;One of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A string, an integer followed by a supported unit: K, M, G, or T. If the new value is smaller than the current usage, the operation succeeds but no further disk space can be used until usage is reduced below the new quota.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;SET NULL&lt;/span&gt; to remove a quota.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information, see &lt;a href=&#34;../../../../en/admin/working-with-native-tables/disk-quotas/#&#34;&gt;Disk quotas&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;DropConstraint&#34;&gt;&lt;/a&gt;DROP CONSTRAINT&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Drops the specified table constraint from the table:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;DROP CONSTRAINT &lt;span class=&#34;code-variable&#34;&gt;constraint-name&lt;/span&gt; [CASCADE | RESTRICT]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can qualify &lt;span class=&#34;sql&#34;&gt;DROP CONSTRAINT&lt;/span&gt; with one of these options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;CASCADE&lt;/span&gt;: Drops a constraint and all dependencies in other tables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;RESTRICT&lt;/span&gt;: Does not drop a constraint if there are dependent objects. Same as the default behavior.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Dropping a table constraint has no effect on views that reference the table.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;DropColumn&#34;&gt;&lt;/a&gt;DROP [COLUMN]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Drops the specified column from the table and that column&#39;s ROS containers:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;DROP [COLUMN] [IF EXISTS] &lt;span class=&#34;code-variable&#34;&gt;column&lt;/span&gt; [CASCADE | RESTRICT]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can qualify &lt;span class=&#34;sql&#34;&gt;DROP COLUMN&lt;/span&gt; with one of these options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;IF EXISTS&lt;/span&gt; generates an informational message if the column does not exist. If you omit this option and the column does not exist, the database generates a ROLLBACK error message.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;CASCADE&lt;/span&gt; is required if the column has dependencies.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;RESTRICT&lt;/span&gt; drops the column only from the given table.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The column&#39;s table cannot be &lt;a href=&#34;../../../../en/admin/working-with-native-tables/immutable-tables/&#34;&gt;immutable&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;See &lt;a href=&#34;../../../../en/admin/working-with-native-tables/altering-table-definitions/dropping-table-columns/#&#34;&gt;Dropping table columns&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;FORCE OUTER &lt;/code&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether a table is joined to another as an inner or outer input. For details, see &lt;a href=&#34;../../../../en/data-analysis/queries/joins/controlling-join-inputs/#&#34;&gt;Controlling join inputs&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;{INCLUDE | EXCLUDE | MATERIALIZE} [SCHEMA] PRIVILEGES&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies default inheritance of schema privileges for this table:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;EXCLUDE PRIVILEGES&lt;/span&gt; (default) disables inheritance of privileges from the schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;INCLUDE PRIVILEGES&lt;/span&gt; grants the table the same privileges granted to its schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;MATERIALIZE PRIVILEGES&lt;/span&gt; copies grants to the table and creates a GRANT object on the table. This disables the inherited privileges flag on the table, so you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Grant more specific privileges at the table level.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use schema-level privileges as a template.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Move the table to a different schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change schema privileges without affecting the table.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

If &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/inherited-privileges/enabling-db-inheritance/&#34;&gt;inherited privileges are disabled at the database level&lt;/a&gt;, schema privileges can still be materialized.

&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See also &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/inherited-privileges/setting-privilege-inheritance-on-tables-and-views/#&#34;&gt;Setting privilege inheritance on tables and views&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;owner&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&#34;../../../../en/admin/working-with-native-tables/altering-table-definitions/changing-table-ownership/&#34;&gt;Changes the table owner&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;PartitionBy&#34;&gt;&lt;/a&gt;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/partition-clause/#&#34;&gt;partition-clause&lt;/a&gt; &lt;/span&gt;[REORGANIZE]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Invalid for external tables, logically divides table data storage through a &lt;span class=&#34;sql&#34;&gt;PARTITION BY&lt;/span&gt; clause:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;PARTITION BY &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt;
  [ GROUP BY &lt;span class=&#34;code-variable&#34;&gt;expression&lt;/span&gt; ]
  [ SET ACTIVEPARTITIONCOUNT &lt;span class=&#34;code-variable&#34;&gt;integer&lt;/span&gt; ]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/partition-clause/#&#34;&gt;Partition clause&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you qualify the partition clause with &lt;span class=&#34;sql&#34;&gt;REORGANIZE&lt;/span&gt; and the table previously specified no partitioning, the database&lt;a class=&#34;glosslink&#34; href=&#34;../../../../en/glossary/tuple-mover-tm/&#34; title=&#34;The Tuple Mover manages ROS data storage.&#34;&gt; Tuple Mover&lt;/a&gt; immediately implements the partition clause. If the table previously specified partitioning, the Tuple Mover evaluates ROS storage containers and reorganizes them as needed to conform with the new partition clause.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;REMOVE PARTITIONING&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies to remove partitioning from a table definition. The &lt;a class=&#34;glosslink&#34; href=&#34;../../../../en/glossary/tuple-mover-tm/&#34; title=&#34;The Tuple Mover manages ROS data storage.&#34;&gt;Tuple Mover&lt;/a&gt; subsequently removes existing partitions from ROS containers.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;RenameColumn&#34;&gt;&lt;/a&gt;RENAME [COLUMN]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;a href=&#34;../../../../en/admin/working-with-native-tables/managing-table-columns/renaming-columns/&#34;&gt;Renames&lt;/a&gt; the specified column within the table. The column&#39;s table cannot be &lt;a href=&#34;../../../../en/admin/working-with-native-tables/immutable-tables/&#34;&gt;immutable&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;RenameTable&#34;&gt;&lt;/a&gt;RENAME TO&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Renames one or more tables:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-table-name&lt;/span&gt;[,...]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following requirements apply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The renamed table must be in the same schema as the original table.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The new table name conforms to conventions described in &lt;a href=&#34;../../../../en/sql-reference/language-elements/identifiers/#&#34;&gt;Identifiers&lt;/a&gt;. It must also be unique among all names of sequences, tables, projections, views, and models within the same schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you specify multiple tables to rename, the source and target lists must have the same number of names.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;a name=&#34;REORGANIZE&#34;&gt;&lt;/a&gt;REORGANIZE&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Valid only for partitioned tables, invokes the &lt;a class=&#34;glosslink&#34; href=&#34;../../../../en/glossary/tuple-mover-tm/&#34; title=&#34;The Tuple Mover manages ROS data storage.&#34;&gt;Tuple Mover&lt;/a&gt; to reorganize ROS storage containers as needed to conform with the table&#39;s current partition clause. &lt;span class=&#34;sql&#34;&gt;ALTER TABLE...REORGANIZE&lt;/span&gt; and the database meta-function &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/partition-functions/partition-table/#&#34;&gt;PARTITION_TABLE&lt;/a&gt; operate identically.
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;REORGANIZE&lt;/span&gt; can also qualify a new &lt;a href=&#34;#PartitionBy&#34;&gt;partition clause&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;a name=&#34;SetSchema&#34;&gt;&lt;/a&gt;&lt;code&gt;SET&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Changes a table setting, one of the following:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;ActivePartitionCount {&lt;em&gt;&lt;code&gt; count&lt;/code&gt;&lt;/em&gt; | DEFAULT }&lt;/span&gt;, valid only for partitioned tables, specifies how many partitions are active for this table, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;count&lt;/code&gt;&lt;/em&gt;: Unsigned integer, supersedes configuration parameter &lt;a href=&#34;../../../../en/sql-reference/config-parameters/tuple-mover-parameters/#ActivePa&#34;&gt;ActivePartitionCount&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;DEFAULT&lt;/span&gt;: Removes the table-level active partition count. The table obtains its active partition count from the configuration parameter ActivePartitionCount.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details on usage, see &lt;a href=&#34;../../../../en/admin/partitioning-tables/active-and-inactive-partitions/#&#34;&gt;Active and inactive partitions&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;IMMUTABLE ROWS&lt;/span&gt; prevents changes to table row values by blocking DML operations such as UPDATE and DELETE. Once set, table immutability cannot be reverted.&lt;/p&gt;
&lt;p&gt;You cannot set a &lt;a href=&#34;../../../../en/data-analysis/flattened-tables/&#34;&gt;flattened table&lt;/a&gt; to be immutable. For details on all immutable table restrictions, see &lt;a href=&#34;../../../../en/admin/working-with-native-tables/immutable-tables/#&#34;&gt;Immutable tables&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;MERGEOUT { 1 | 0 }&lt;/span&gt; specifies whether to enable or &lt;a href=&#34;../../../../en/admin/managing-db/tuple-mover/mergeout/disabling-mergeout-on-specific-tables/&#34;&gt;disable mergeout&lt;/a&gt; to ROS containers that consolidate projection data of this table. By default, mergeout is enabled (1) on all tables.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;SCHEMA [&lt;em&gt;&lt;code&gt;namespace.&lt;/code&gt;&lt;/em&gt;]&lt;em&gt;&lt;code&gt;schema-name&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; moves the table from its current schema to [&lt;em&gt;&lt;code&gt;namespace.&lt;/code&gt;&lt;/em&gt;]&lt;em&gt;&lt;code&gt;schema-name&lt;/code&gt;&lt;/em&gt;. For Eon Mode databases, the new schema must be in the same namespace as the old schema. When no &lt;em&gt;&lt;code&gt;namespace&lt;/code&gt;&lt;/em&gt; is provided, the namespace is set to &lt;code&gt;default_namespace&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The database automatically moves all projections that are anchored to the source table to the destination schema. It also moves all &lt;span class=&#34;sql&#34;&gt;&lt;a href=&#34;../../../../en/admin/working-with-native-tables/sequences/identity-sequences/&#34;&gt;IDENTITY&lt;/a&gt;&lt;/span&gt; columns to the destination schema. For details, see &lt;a href=&#34;../../../../en/admin/working-with-native-tables/altering-table-definitions/moving-tables-to-another-schema/#&#34;&gt;Moving tables to another schema&lt;/a&gt;&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: USAGE on the schema and one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Table owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privileges&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Non-superusers must also have SELECT privileges to enable or disable &lt;a href=&#34;../../../../en/admin/constraints/constraint-enforcement/&#34;&gt;constraint enforcement&lt;/a&gt;, or remove partitioning.&lt;/p&gt;
&lt;p&gt;For certain operations, non-superusers must have the following schema privileges:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;To rename a table: CREATE, USAGE&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;To move a table to another schema: USAGE on the source schema, CREATE on the destination schema&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Restrict&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;restrictions-for-complex-types&#34;&gt;Restrictions for complex types&lt;/h2&gt;
&lt;p&gt;Complex types used in native tables have some restrictions, in addition to the restrictions for individual types listed on their reference pages:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A native table must have at least one column that is a primitive type or a native array (one-dimensional array of a primitive type). If a flex table has real columns, it must also have at least one column satisfying this restriction.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Complex type columns cannot be used in ORDER BY or PARTITION BY clauses nor as FILLER columns.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Complex type columns cannot have &lt;a href=&#34;../../../../en/admin/constraints/supported-constraints/&#34;&gt;constraints&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Complex type columns cannot use DEFAULT or SET USING.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Expressions returning complex types cannot be used as projection columns, and projections cannot be segmented or ordered by columns of complex types.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a name=&#34;Exclusiv&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;exclusive-alter-table-clauses&#34;&gt;Exclusive ALTER TABLE clauses&lt;/h2&gt;
&lt;p&gt;The following ALTER TABLE clauses cannot be combined with another ALTER TABLE clause:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;ADD COLUMN&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;DROP COLUMN&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;RENAME COLUMN&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;SET SCHEMA&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;RENAME [TO]&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;node-down-limitations&#34;&gt;Node down limitations&lt;/h2&gt;
&lt;p&gt;Enterprise Mode only&lt;/p&gt;

&lt;p&gt;The following ALTER TABLE operations are not supported when one or more database cluster nodes are down:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;ALTER COLUMN ... ADD &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-table/table-constraint/&#34;&gt;table-constraint&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;ALTER COLUMN ... SET DATA TYPE&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;ALTER COLUMN ... { SET DEFAULT | DROP DEFAULT }&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;ALTER COLUMN ... { SET USING | DROP SET USING }&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;ALTER CONSTRAINT&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;DROP COLUMN &lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;sql&#34;&gt;DROP CONSTRAINT&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;pre-aggregated-projection-restrictions&#34;&gt;Pre-aggregated projection restrictions&lt;/h2&gt;
&lt;p&gt;You cannot modify the metadata of anchor table columns that are included in &lt;a href=&#34;../../../../en/data-analysis/data-aggregation/pre-aggregating-data-projections/live-aggregate-projections/&#34;&gt;live aggregate&lt;/a&gt; or &lt;a href=&#34;../../../../en/data-analysis/data-aggregation/pre-aggregating-data-projections/top-k-projections/&#34;&gt;Top-K&lt;/a&gt; projections. You also cannot drop these columns. To make these changes, you must first &lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-projection/&#34;&gt;drop&lt;/a&gt; all live aggregate and Top-K projections that are associated with it.&lt;/p&gt;
&lt;p&gt;&lt;a name=&#34;External&#34;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2 id=&#34;external-table-restrictions&#34;&gt;External table restrictions&lt;/h2&gt;
&lt;p&gt;Not all ALTER TABLE options pertain to external tables. For instance, you cannot add a column to an external table, but you can rename the table:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TABLE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;mytable&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;RENAME&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TO&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;mytable2&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;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;w&#34;&gt;&lt;/span&gt;&lt;span class=&#34;k&#34;&gt;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TABLE&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;&lt;a name=&#34;Change&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;locked-tables&#34;&gt;Locked tables&lt;/h2&gt;
&lt;p&gt;If the operation cannot obtain an &lt;a href=&#34;../../../../en/admin/db-locks/lock-modes/&#34;&gt;O lock&lt;/a&gt; on the target table, the database tries to close any internal &lt;a href=&#34;../../../../en/admin/managing-db/tuple-mover/&#34;&gt;Tuple Mover&lt;/a&gt; sessions that are running on that table. If successful, the operation can proceed. Explicit Tuple Mover operations that are running in user sessions do not close. If an explicit Tuple Mover operation is running on the table, the operation proceeds only when the operation is complete.&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;In an Eon Mode database, the following statement alters the schema of the &lt;code&gt;flights&lt;/code&gt; table from schema &lt;code&gt;airline1&lt;/code&gt; in namespace &lt;code&gt;airport&lt;/code&gt; to schema &lt;code&gt;airline2&lt;/code&gt; in namespace &lt;code&gt;airport&lt;/code&gt;:&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;ALTER&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;TABLE&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;airport&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;airline1&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;flights&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SET&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;k&#34;&gt;SCHEMA&lt;/span&gt;&lt;span class=&#34;w&#34;&gt; &lt;/span&gt;&lt;span class=&#34;n&#34;&gt;airport&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;airline2&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;.&lt;/span&gt;&lt;span class=&#34;n&#34;&gt;flights&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;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/working-with-native-tables/#&#34;&gt;Working with native tables&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/working-with-native-tables/altering-table-definitions/#&#34;&gt;Altering table definitions&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/admin/working-with-native-tables/altering-table-definitions/adding-table-columns/#&#34;&gt;Adding table columns&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER TLS CONFIGURATION</title>
      <link>/en/sql-reference/statements/alter-statements/alter-tls-config/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-tls-config/</guid>
      <description>
        
        
        &lt;p&gt;Alters a specified TLS Configuration object. For information on existing TLS Configuration objects, query &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/tls-configs/#&#34;&gt;TLS_CONFIGURATIONS&lt;/a&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;ALTER TLS CONFIGURATION &lt;span class=&#34;code-variable&#34;&gt;tls_config_name&lt;/span&gt; {
    [ CERTIFICATE { NULL | &lt;span class=&#34;code-variable&#34;&gt;cert_name&lt;/span&gt; } ]
    [ ADD CA CERTIFICATES &lt;span class=&#34;code-variable&#34;&gt;ca_cert_name&lt;/span&gt; [,...] ]
    [ REMOVE CA CERTIFICATES &lt;span class=&#34;code-variable&#34;&gt;ca_cert_name&lt;/span&gt; [,...] ]
    [ CIPHER SUITES { &amp;#39;&amp;#39; | &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;openssl_cipher&lt;/span&gt; [,...]&amp;#39; } ]
    [ TLSMODE &amp;#39;&lt;span class=&#34;code-variable&#34;&gt;tlsmode&lt;/span&gt;&amp;#39; ]
    [ OWNER TO &lt;span class=&#34;code-variable&#34;&gt;user_name&lt;/span&gt; ]
}
&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;tls_config_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The TLS Configuration object to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;NULL&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Removes the non-CA certificate from the TLS Configuration.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;cert_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A certificate created with &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-certificate/#&#34;&gt;CREATE CERTIFICATE&lt;/a&gt;.
&lt;p&gt;You must have USAGE privileges on the certificate (either from ownership of the &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-certificate/&#34;&gt;certificate&lt;/a&gt; or &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-key/&#34;&gt;USAGE on its key&lt;/a&gt;, if any) to add it to a TLS Configuration.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;ca_cert_name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A CA certificate created with &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-certificate/#&#34;&gt;CREATE CERTIFICATE&lt;/a&gt;.
&lt;p&gt;You must have USAGE privileges on the certificate (either from ownership of the &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-certificate/&#34;&gt;certificate&lt;/a&gt; or &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-key/&#34;&gt;USAGE on its key&lt;/a&gt;, if any) to add it to a TLS Configuration.&lt;/p&gt;

&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;openssl_cipher&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A comma-separated list of cipher suites to use instead of the default set of cipher suites. Providing an empty string for this parameter clears the alternate cipher suite list and instructs the specified TLS Configuration to use the default set of cipher suites.
&lt;p&gt;To view enabled cipher suites, use &lt;a href=&#34;../../../../en/sql-reference/functions/system-information-functions/list-enabled-ciphers/#&#34;&gt;LIST_ENABLED_CIPHERS&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;tlsmode&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;How OpenText™ Analytics Database establishes TLS connections and handles certificates, listed in order of increasing security:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DISABLE&lt;/code&gt;: Disables TLS. All other options for this parameter enable TLS.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ENABLE&lt;/code&gt;: Enables TLS. The database does not check client certificates.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;TRY_VERIFY&lt;/code&gt;: Establishes a TLS connection if one of the following is true:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;the other host presents a valid certificate&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;the other host doesn&#39;t present a certificate&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If the other host presents an invalid certificate, the connection will use plaintext.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;VERIFY_CA&lt;/code&gt;: Connection succeeds if the database verifies that the other host&#39;s certificate is from a trusted CA. If the other host does not present a certificate, the connection uses plaintext.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;VERIFY_FULL&lt;/code&gt;: Connection succeeds if the database verifies that the other host&#39;s certificate is from a trusted CA and the certificate&#39;s &lt;code&gt;cn&lt;/code&gt; (Common Name) or &lt;code&gt;subjectAltName&lt;/code&gt; attribute matches the hostname or IP address of the other host.&lt;/p&gt;
&lt;p&gt;Note that for client certificates, &lt;code&gt;cn&lt;/code&gt; is used for the username, so &lt;code&gt;subjectAltName&lt;/code&gt; must match the hostname or IP address of the other host.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;VERIFY_FULL&lt;/code&gt; is unsupported for client-server TLS (the connection type handled by ServerTLSConfig) and behaves like &lt;code&gt;VERIFY_CA&lt;/code&gt;.

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

&lt;p&gt;Whether the database or the other party acts as the client or server depends on the type of connection. For connections between the database and an LDAP server for LDAP Link or LDAP authentication, the database is the client and the LDAP server is the server:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/security-and-authentication/ldap-link-service/tls-ldap-link/&#34;&gt;LDAPLinkTLSConfig&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/ldap-authentication/tls-ldap-authentication/&#34;&gt;LDAPAuthTLSConfig&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For all other connection types, the database is the server and the other party is the client:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/security-and-authentication/tls-protocol/tls-overview/configuring-client-server-tls/&#34;&gt;ServerTLSConfig&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/security-and-authentication/internode-tls/&#34;&gt;InternodeTLSConfig&lt;/a&gt; (the other database nodes are both the client and server)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;


&lt;/div&gt;&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: &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-tls-config/&#34;&gt;ALTER privileges&lt;/a&gt; on the TLS Configuration.&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;To remove all certificates and CA certificates from the LDAPLink TLS Configuration:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt;  SELECT * FROM tls_configurations WHERE name=&amp;#39;LDAPLink&amp;#39;;
   name   |  owner  | certificate | ca_certificate | cipher_suites |  mode
----------+---------+-------------+----------------+---------------+---------
 LDAPLink | dbadmin | server_cert | ca             |               | DISABLE
 LDAPLink | dbadmin | server_cert | ica            |               | DISABLE
(2 rows)

=&amp;gt; ALTER TLS CONFIGURATION LDAPLink CERTIFICATE NULL REMOVE CA CERTIFICATES ca, ica;
ALTER TLS CONFIGURATION

=&amp;gt; SELECT * FROM tls_configurations WHERE name=&amp;#39;LDAPLink&amp;#39;;
   name   |  owner  | certificate | ca_certificate | cipher_suites |  mode
----------+---------+-------------+----------------+---------------+---------
 LDAPLink | dbadmin |             |                |               | DISABLE
(3 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To use an alternate set of cipher suites for client-server TLS:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt; =&amp;gt; ALTER TLS CONFIGURATION server CIPHER SUITES
    &amp;#39;DHE-PSK-AES256-CBC-SHA384,
     DHE-PSK-AES128-GCM-SHA256,
     PSK-AES128-CBC-SHA256&amp;#39;;
ALTER TLS CONFIGURATION

 =&amp;gt; SELECT name, cipher_suites FROM tls_configurations WHERE name=&amp;#39;server&amp;#39;;
   name   |                               cipher_suites
 server   | DHE-PSK-AES256-CBC-SHA384,DHE-PSK-AES128-GCM-SHA256,PSK-AES128-CBC-SHA256
(1 row)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;For other examples, see:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/security-and-authentication/tls-protocol/tls-overview/configuring-client-server-tls/#&#34;&gt;Configuring client-server TLS&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/security-and-authentication/ldap-link-service/tls-ldap-link/#&#34;&gt;TLS for LDAP link&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/ldap-authentication/tls-ldap-authentication/#&#34;&gt;TLS for LDAP authentication&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/security-and-authentication/internode-tls/#&#34;&gt;Internode TLS&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER TRIGGER</title>
      <link>/en/sql-reference/statements/alter-statements/alter-trigger/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-trigger/</guid>
      <description>
        
        
        &lt;p&gt;Modifies a &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-trigger/&#34;&gt;trigger&lt;/a&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;ALTER TRIGGER [[&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;trigger&lt;/span&gt; {
          OWNER TO &lt;span class=&#34;code-variable&#34;&gt;new_owner&lt;/span&gt;
        | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new_schema&lt;/span&gt;
        | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new_trigger&lt;/span&gt;
        | PROCEDURE TO &lt;span class=&#34;code-variable&#34;&gt;new_procedure&lt;/span&gt;
    }
&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;trigger&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The trigger to modify.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_owner&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new owner and definer of the trigger. This affects the behavior of &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-trigger/&#34;&gt;AS DEFINER&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_schema&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new schema of the trigger.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_trigger&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The new name for the trigger.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;new_procedure&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The function signature of the &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-procedure-stored/&#34;&gt;stored procedure&lt;/a&gt;.&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Superuser&lt;/p&gt;

&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;To attach a different procedure to the trigger:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER TRIGGER daily_1am PROCEDURE TO log_user_actions(10, 20);
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To rename a trigger:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER TRIGGER daily_1am RENAME TO daily_1am_gmt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To move the trigger to a different schema:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER TRIGGER daily_1am_gmt
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER USER</title>
      <link>/en/sql-reference/statements/alter-statements/alter-user/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-user/</guid>
      <description>
        
        
        &lt;p&gt;Changes user account parameters and user-level configuration parameters.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER USER &lt;span class=&#34;code-variable&#34;&gt;user-name&lt;/span&gt; {
   &lt;span class=&#34;code-variable&#34;&gt;account-parameter&lt;/span&gt; &lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;[,...]
   | SET [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;cfg-parameter&lt;/span&gt;=&lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;[,...]
   | CLEAR [PARAMETER] &lt;span class=&#34;code-variable&#34;&gt;cfg-parameter&lt;/span&gt;[,...]
   | TOTPSECRET RESET; 
}
&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;user-name &lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the user. Names that contain special characters must be double-quoted. To enforce case-sensitivity, use double-quotes.
&lt;p&gt;For details on name requirements, see &lt;a href=&#34;../../../../en/admin/configuring-db/config-procedure/create-an-empty-db/creating-db-name-and-password/#&#34;&gt;Creating a database name and password&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;account-parameter&lt;/code&gt;&lt;/em&gt;&lt;code&gt; &lt;/code&gt;&lt;em&gt;&lt;code&gt;value&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies user account settings (see below).

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

Changes to a user account apply only to the current session and to all later sessions launched by this user.

&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET [PARAMETER]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Sets the specified configuration parameters. The new setting applies only to the current session, and to all later sessions launched by this user. Concurrent user sessions are unaffected by new settings unless they call meta-function &lt;a href=&#34;../../../../en/sql-reference/functions/management-functions/session-functions/reset-session/#&#34;&gt;RESET_SESSION&lt;/a&gt;.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;CLEAR [PARAMETER]&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Resets the specified configuration parameters to their default values.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;TOTPSECRET RESET&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Resets the user’s Totp secret key. Users get a new Totp secret key when they sign in to the server through a client the next time. Users need to provide the new Totp secret key and register again to an authenticator application to generate the Totp.&lt;/dd&gt;
&lt;/dl&gt;

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
SET | CLEAR PARAMETER can specify only user-level configuration parameters, otherwise OpenText™ Analytics Database returns an error. For details, see &lt;a href=&#34;#Setting&#34;&gt;Setting User-Level Configuration Parameters&lt;/a&gt; below.
&lt;/div&gt;
&lt;p&gt;&lt;a name=&#34;UserAccountParameters&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;user-account-parameters&#34;&gt;User account parameters&lt;/h2&gt;
&lt;p&gt;Specify one or more user-account parameters and their settings as a comma-delimited list:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;account-parameter&lt;/span&gt; &lt;span class=&#34;code-variable&#34;&gt;value&lt;/span&gt;[,...]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;
&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
&lt;p&gt;The following user-account parameters are invalid for a user who is added to the database with the LDAPLink service:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;IDENTIFIED BY&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;PROFILE&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;SECURITY ALGORITHM&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Parameter&lt;/th&gt; 

&lt;th &gt;
Setting&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;ACCOUNT&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;


















&lt;p&gt;Locks or unlocks user access to the database, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;UNLOCK&lt;/code&gt; (default)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;LOCK&lt;/code&gt; prevents a new user from logging in. This can be useful when creating an account for a user who does not need immediate access.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;alert admonition tip&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Tip&lt;/h4&gt;
&lt;p&gt;To automate account locking, set a maximum number of failed login attempts with &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-profile/#&#34;&gt;CREATE PROFILE&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;DEFAULT ROLE&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;



















&lt;p&gt;Specifies what roles are the default roles for this user, set to one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): Removes all default roles.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;role&lt;/code&gt;&lt;/em&gt;&lt;code&gt;[,...]&lt;/code&gt;: Comma-delimited list of roles.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ALL&lt;/code&gt;: Sets as default all user roles.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;ALL EXCEPT &lt;/code&gt;&lt;em&gt;&lt;code&gt;role&lt;/code&gt;&lt;/em&gt;&lt;code&gt;[,...]&lt;/code&gt;: Comma-delimited list of roles to exclude as default roles.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Default roles are automatically activated when a user logs in. The roles specified by this parameter supersede any roles assigned earlier.&lt;/p&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;DEFAULT ROLE&lt;/code&gt; cannot be specified in combination with other &lt;code&gt;ALTER USER&lt;/code&gt; parameters.&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;GRACEPERIOD&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;












&lt;p&gt;Specifies how long a user query can block on any session socket, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): Removes any grace period previously set on session queries.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;interval&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;: Specifies as an &lt;a href=&#34;../../../../en/sql-reference/language-elements/literals/datetime-literals/interval-literal/&#34;&gt;interval&lt;/a&gt; the maximum grace period for current session queries, up to 20 days.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/workload-best-practices/handling-session-socket-blocking/#&#34;&gt;Handling session socket blocking&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;

&lt;code&gt;&lt;a name=&#34;IdentifiedBy&#34;&gt;&lt;/a&gt;IDENTIFIED BY&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;
















&lt;p&gt;Changes the user&#39;s password:&lt;/p&gt;
&lt;pre class=&#34;table-pre&#34;&gt;IDENTIFIED BY &#39;[&lt;span class=&#34;code-variable&#34;&gt;new-password&lt;/span&gt;]&#39;
   | [&#39;&lt;span class=&#34;code-variable&#34;&gt;hashed-password&lt;/span&gt;&#39; SALT &#39;&lt;span class=&#34;code-variable&#34;&gt;hash-salt&lt;/span&gt;&#39;] 
   [REPLACE &#39;&lt;span class=&#34;code-variable&#34;&gt;current-password&lt;/span&gt;&#39;]&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;new-password&lt;/code&gt;&lt;/em&gt;: ASCII password that the database then hashes for internal storage. An empty string allows this user to access the database with no password.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;hashed-password&lt;/code&gt;&lt;/em&gt;: A pre-hashed password and its associated hex string &lt;em&gt;&lt;code&gt;hash-salt&lt;/code&gt;&lt;/em&gt;. Setting a password this way bypasses all &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/hash-authentication/passwords/profiles/&#34;&gt;password complexity requirements&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;REPLACE: Required for non-superusers, who must supply their current password. Non-superusers can only change their own passwords.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/hash-authentication/passwords/password-guidelines/#&#34;&gt;Password guidelines&lt;/a&gt; and &lt;a href=&#34;../../../../en/admin/configuring-db/config-procedure/create-an-empty-db/creating-db-name-and-password/#&#34;&gt;Creating a database name and password&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;IDLESESSIONTIMEOUT&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;













&lt;p&gt;The length of time the system waits before disconnecting an idle session, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): No limit set for this user. If you omit this parameter, no limit is set for this user.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&#39;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/language-elements/literals/datetime-literals/interval-literal/#&#34;&gt;interval&lt;/a&gt;&lt;/span&gt;&#39;&lt;/code&gt;: An interval value, up to one year.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/admin/managing-client-connections/#&#34;&gt;Managing client connections&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;MAXCONNECTIONS&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;















&lt;p&gt;Sets the maximum number of connections the user can have to the server, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): No limit set. If you omit this parameter, the user can have an unlimited number of connections across the database cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt; ON DATABASE&lt;/code&gt;: Sets to &lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt; the maximum number of connections across the database cluster.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt;&lt;code&gt; ON NODE&lt;/code&gt;: Sets to &lt;em&gt;&lt;code&gt;integer&lt;/code&gt;&lt;/em&gt; the maximum number of connections to each node.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/admin/managing-client-connections/#&#34;&gt;Managing client connections&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;MEMORYCAP&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;





















&lt;p&gt;Sets how much memory can be allocated to user requests, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): No limit&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A string value that specifies the memory limit, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&#39;&lt;em&gt;&lt;code&gt;int&lt;/code&gt;&lt;/em&gt;&lt;code&gt;%&#39;&lt;/code&gt; expresses the maximum as a percentage of total memory available to the Resource Manager, where &lt;em&gt;&lt;code&gt;int&lt;/code&gt;&lt;/em&gt; is an integer value between 0 and 100.For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MEMORYCAP &#39;40%&#39;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;int&lt;/code&gt;&lt;/em&gt;&lt;code&gt;{K|M|G|T}&#39;&lt;/code&gt; expresses memory allocation in kilobytes, megabytes, gigabytes, or terabytes. For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;MEMORYCAP &#39;10G&#39;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PASSWORD EXPIRE&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;










&lt;p&gt;Forces immediate expiration of the user&#39;s password. The user must change the password on the next login.
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;PASSWORD EXPIRE&lt;/code&gt; has no effect when using external password authentication methods such as LDAP or Kerberos.&lt;/p&gt;
&lt;/div&gt;&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;PROFILE&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;











&lt;p&gt;Assigns a &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/hash-authentication/passwords/profiles/&#34;&gt;profile&lt;/a&gt; that controls password requirements for this user, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DEFAULT&lt;/code&gt; (default): Assigns the default database profile to this user.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/hash-authentication/passwords/profiles/&#34;&gt;profile-name&lt;/a&gt;&lt;/span&gt;: A profile that is defined by &lt;a href=&#34;../../../../en/sql-reference/statements/create-statements/create-profile/#&#34;&gt;CREATE PROFILE&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


&lt;code&gt;RENAME TO&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;







&lt;p&gt;Assigns the user a new user name. All privileges assigned to the user remain unchanged.&lt;/p&gt;
&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;
&lt;p&gt;&lt;code&gt;RENAME TO&lt;/code&gt; cannot be specified in combination with other &lt;code&gt;ALTER USER&lt;/code&gt; parameters.&lt;/p&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;RESOURCE POOL &lt;/code&gt;&lt;em&gt;&lt;code&gt;pool-name&lt;/code&gt;&lt;/em&gt;&lt;code&gt; [FOR SUBCLUSTER &lt;/code&gt;&lt;em&gt;&lt;code&gt;sc-name&lt;/code&gt;&lt;/em&gt;&lt;code&gt;]&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;




&lt;p&gt;Assigns a resource pool to this user. The user must also be &lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-resource-pool/&#34;&gt;granted privileges to this pool&lt;/a&gt;, unless privileges to the pool are set to &lt;code&gt;PUBLIC&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;FOR SUBCLUSTER&lt;/code&gt; clause assigns a subcluster-specific resource pool to the user. You can assign only one subcluster-specific resource pool to each user.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;RUNTIMECAP&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;













&lt;p&gt;Sets how long this user&#39;s queries can execute, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): No limit set for this user. If you omit this parameter, no limit is set for this user.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;
&lt;code&gt;&#39;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../../en/sql-reference/language-elements/literals/datetime-literals/interval-literal/#&#34;&gt;interval&lt;/a&gt;&lt;/span&gt;&#39;&lt;/code&gt;: An interval value, up to one year.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A query&#39;s runtime limit can be set at three levels: the user&#39;s runtime limit, the user&#39;s resource pool, and the session setting. For more information, see &lt;a href=&#34;../../../../en/admin/managing-db/managing-workloads/workload-best-practices/setting-runtime-limit-queries/#&#34;&gt;Setting a runtime limit for queries&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;SEARCH_PATH&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;













&lt;p&gt;Specifies the user&#39;s default search path, that tells the database which schemas to search for unqualified references to tables and UDFs, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;DEFAULT&lt;/code&gt; (default): Sets the search path as follows:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&amp;#34;$user&amp;#34;, public, v_catalog, v_monitor, v_internal
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Comma-delimited list of schemas.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For details, see &lt;a href=&#34;../../../../en/admin/configuring-db/designing-logical-schema/using-multiple-schemas/setting-search-paths/&#34;&gt;Setting Search Paths&lt;/a&gt;.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
&lt;code&gt;SECURITY_ALGORITHM &#39;&lt;/code&gt;&lt;em&gt;&lt;code&gt;algorithm&lt;/code&gt;&lt;/em&gt;&lt;code&gt;&#39;&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;










&lt;p&gt;Sets the user-level security algorithm for &lt;a href=&#34;../../../../en/security-and-authentication/client-authentication/hash-authentication/&#34;&gt;hash authentication&lt;/a&gt;, where &lt;em&gt;&lt;code&gt;algorithm&lt;/code&gt;&lt;/em&gt; is one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): Uses the system-level parameter, &lt;code&gt;SecurityAlgorithm&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;SHA512&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;MD5&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The user&#39;s password expires when you change the &lt;code&gt;SECURITY_ALGORITHM&lt;/code&gt; value and must be reset.&lt;/p&gt;
&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;

&lt;code&gt;&lt;a name=&#34;TEMPSPACECAP&#34;&gt;&lt;/a&gt;TEMPSPACECAP&lt;/code&gt;&lt;/td&gt; 

&lt;td &gt;





















&lt;p&gt;Sets how much temporary file storage is available for user requests, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;NONE&lt;/code&gt; (default): No limit&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;String value that specifies the storage limit, one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;int&lt;/code&gt;&lt;/em&gt;&lt;code&gt;%&lt;/code&gt; expresses the maximum as a percentage of total temporary storage available to the Resource Manager, where &lt;em&gt;&lt;code&gt;int&lt;/code&gt;&lt;/em&gt; is an integer value between 0 and 100. For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;TEMPSPACECAP &#39;40%&#39;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;em&gt;&lt;code&gt;int&lt;/code&gt;&lt;/em&gt;&lt;code&gt;{K|M|G|T}&lt;/code&gt; expresses storage allocation in kilobytes, megabytes, gigabytes, or terabytes. For example:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;TEMPSPACECAP &#39;10G&#39;&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superusers can change the following options on their own user accounts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;IDENTIFIED BY&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;RESOURCE POOL&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;SEARCH_PATH&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;SECURITY_ALGORITHM&lt;/code&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When changing a another user&#39;s resource pool to one outside of the PUBLIC schema, the user must have USAGE privileges on the resource pool from at least one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/ownership-and-implicit-privileges/&#34;&gt;Object ownership&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/sql-reference/statements/grant-statements/grant-resource-pool/&#34;&gt;Explicit grant to the user&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/enabling-roles-automatically/&#34;&gt;Default role&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Setting&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;setting-user-level-configuration-parameters&#34;&gt;Setting user-level configuration parameters&lt;/h2&gt;
&lt;p&gt;SET | CLEAR PARAMETER can specify only user-level configuration parameters, otherwise the database returns an error. Only superusers can set and clear user-level parameters, unless they are also supported at the session level.&lt;/p&gt;
&lt;p&gt;To get the names of user-level parameters, query system table &lt;a href=&#34;../../../../en/sql-reference/system-tables/v-monitor-schema/config-parameters/#&#34;&gt;CONFIGURATION_PARAMETERS&lt;/a&gt;. For example:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT parameter_name, allowed_levels FROM configuration_parameters
      WHERE allowed_levels ilike &amp;#39;%USER%&amp;#39; AND parameter_name ilike &amp;#39;%depot%&amp;#39; ORDER BY parameter_name;
       parameter_name        |     allowed_levels
-----------------------------+-------------------------
 BackgroundDepotWarming      | SESSION, USER, DATABASE
 DepotOperationsForQuery     | SESSION, USER, DATABASE
 EnableDepotWarmingFromPeers | SESSION, USER, DATABASE
 UseDepotForReads            | SESSION, USER, DATABASE
 UseDepotForWrites           | SESSION, USER, DATABASE
(5 rows)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following example sets the user-level configuration parameter UseDepotForWrites for two users, Yvonne and Ahmed:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SHOW USER Yvonne PARAMETER ALL;
  user  |        parameter        | setting
--------+-------------------------+---------
 Yvonne | DepotOperationsForQuery | Fetches
(1 row)

=&amp;gt; ALTER USER Yvonne SET PARAMETER UseDepotForWrites = 0;
ALTER USER
=&amp;gt; SHOW USER Yvonne PARAMETER ALL;
  user  |        parameter        | setting
--------+-------------------------+---------
 Yvonne | DepotOperationsForQuery | Fetches
 Yvonne | UseDepotForWrites       | 0
(2 rows)

=&amp;gt; ALTER USER Ahmed SET PARAMETER DepotOperationsForQuery = &amp;#39;Fetches&amp;#39;;
ALTER USER
=&amp;gt; SHOW USER ALL PARAMETER ALL;
  user  |        parameter        | setting
--------+-------------------------+---------
 Ahmed  | DepotOperationsForQuery | Fetches
 Yvonne | DepotOperationsForQuery | Fetches
 Yvonne | UseDepotForWrites       | 0
(3 rows)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;a name=&#34;Examples&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;h3 id=&#34;set-a-users-password&#34;&gt;Set a user&#39;s password&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE USER user1;
=&amp;gt; ALTER USER user1 IDENTIFIED BY &amp;#39;newpassword&amp;#39;;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;set-users-security-algorithm-and-password&#34;&gt;Set user&#39;s security algorithm and password&lt;/h3&gt;
&lt;p&gt;This example sets a user&#39;s security algorithm and password to &lt;code&gt;SHA-512&lt;/code&gt; and &lt;code&gt;newpassword&lt;/code&gt;, respectively. When you execute the &lt;code&gt;ALTER USER&lt;/code&gt; statement, the database hashes the password with the SHA-512 algorithm and saves the hash:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE USER user1;
        =&amp;gt; ALTER USER user1 SECURITY_ALGORITHM &amp;#39;SHA512&amp;#39; IDENTIFIED BY &amp;#39;newpassword&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;assign-default-roles-to-a-user&#34;&gt;Assign default roles to a user&lt;/h3&gt;
&lt;p&gt;This example make a user&#39;s assigned roles their &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-roles/enabling-roles-automatically/&#34;&gt;default roles&lt;/a&gt;. Default roles are automatically set (enabled) when a user logs in:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE USER user1;
CREATE USER
=&amp;gt; GRANT role1, role2, role3 to user1;
=&amp;gt; ALTER USER user1 DEFAULT ROLE ALL;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You can pair ALL with EXCEPT to exclude certain roles:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE USER user2;
CREATE USER
=&amp;gt; GRANT role1, role2, role3 to user2;
=&amp;gt; ALTER USER user2 DEFAULT ROLE ALL EXCEPT role1;
&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/statements/create-statements/create-user/#&#34;&gt;CREATE USER&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/drop-statements/drop-user/#&#34;&gt;DROP USER&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../en/sql-reference/statements/show-user/#&#34;&gt;SHOW USER&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER VIEW</title>
      <link>/en/sql-reference/statements/alter-statements/alter-view/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-view/</guid>
      <description>
        
        
        &lt;p&gt;Modifies the metadata of an existing &lt;a class=&#34;glosslink&#34; href=&#34;../../../../en/glossary/view/&#34; title=&#34;A named logical relation specified by an associated query that can be accessed similarly to a table in the FROM clause of a SQL statement.&#34;&gt;view&lt;/a&gt;. The changes are auto-committed.&lt;/p&gt;
&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;General usage:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER 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; {
    | OWNER TO &lt;span class=&#34;code-variable&#34;&gt;owner&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;
    | { INCLUDE | EXCLUDE | MATERIALIZE } [ SCHEMA ] PRIVILEGES
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Rename view:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;ALTER 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;[&lt;span class=&#34;code-variable&#34;&gt;,...&lt;/span&gt;] RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-view-name&lt;/span&gt;[,...]
&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 view to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET SCHEMA &lt;/code&gt;&lt;em&gt;&lt;code&gt;schema&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;Moves the view from one schema to another.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OWNER TO &lt;/code&gt;&lt;em&gt;&lt;code&gt;owner&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Changes the view owner.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
The new view owner should also have SELECT privileges on the objects that the view references; otherwise the view is inaccessible to that user.
&lt;/div&gt;&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;{ INCLUDE | EXCLUDE  | MATERIALIZE }  [SCHEMA] PRIVILEGES&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies default inheritance of schema privileges for this view:
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;EXCLUDE [SCHEMA] PRIVILEGES&lt;/code&gt; (default) disables inheritance of privileges from the schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;INCLUDE [SCHEMA] PRIVILEGES&lt;/code&gt; grants the view the same privileges granted to its schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;MATERIALIZE&lt;/code&gt;: Copies grants to the view and creates a GRANT object on the view. This disables the inherited privileges flag on the view, so you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Grant more specific privileges at the view level&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Use schema-level privileges as a template&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Move the view to a different schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Change schema privileges without affecting the view&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class=&#34;alert admonition note&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Note&lt;/h4&gt;

If &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/inherited-privileges/enabling-db-inheritance/&#34;&gt;inherited privileges are disabled at the database level&lt;/a&gt;, schema privileges can still be materialized.

&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See also &lt;a href=&#34;../../../../en/admin/db-users-and-privileges/db-privileges/inherited-privileges/setting-privilege-inheritance-on-tables-and-views/#&#34;&gt;Setting privilege inheritance on tables and views&lt;/a&gt;.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;RENAME TO&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Renames one or more views:
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-view-name&lt;/span&gt;[,...]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The following requirements apply:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The new view name conforms to conventions described in &lt;a href=&#34;../../../../en/sql-reference/language-elements/identifiers/#&#34;&gt;Identifiers&lt;/a&gt;. It must also be unique among all names of sequences, tables, projections, views, and models within the same schema.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;If you specify multiple views to rename, the source and target lists must have the same number of names.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Renaming a view requires &lt;code&gt;USAGE&lt;/code&gt; and &lt;code&gt;CREATE&lt;/code&gt; privileges on the schema that contains the view.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;privileges&#34;&gt;Privileges&lt;/h2&gt;
&lt;p&gt;Non-superuser: USAGE on the schema and one of the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;View owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the view&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must have the following schema privileges:

&lt;table class=&#34;table table-bordered&#34; &gt;



&lt;tr&gt; 

&lt;th &gt;
Schema privileges required...&lt;/th&gt; 

&lt;th &gt;
For these operations...&lt;/th&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;
CREATE, USAGE&lt;/td&gt; 

&lt;td &gt;
Rename view&lt;/td&gt;&lt;/tr&gt;

&lt;tr&gt; 

&lt;td &gt;


CREATE: destination schema&lt;br /&gt;USAGE: current schema&lt;/td&gt; 

&lt;td &gt;
Move view to another schema&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/p&gt;
&lt;h2 id=&#34;examples&#34;&gt;Examples&lt;/h2&gt;
&lt;p&gt;Rename view &lt;code&gt;view1&lt;/code&gt; to &lt;code&gt;view2&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; CREATE VIEW view1 AS SELECT * FROM t;
CREATE VIEW
=&amp;gt; ALTER VIEW view1 RENAME TO view2;
ALTER VIEW
&lt;/code&gt;&lt;/pre&gt;
      </description>
    </item>
    
  </channel>
</rss>
