<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – ALTER FUNCTION statements</title>
    <link>/en/sql-reference/statements/alter-statements/alter-function-statements/</link>
    <description>Recent content in ALTER FUNCTION statements on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/sql-reference/statements/alter-statements/alter-function-statements/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Sql-Reference: ALTER AGGREGATE FUNCTION</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-aggregate-function/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-aggregate-function/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../../en/extending/developing-udxs/aggregate-functions-udafs/&#34;&gt;user-defined aggregate function&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 AGGREGATE FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [&lt;span class=&#34;code-variable&#34;&gt; parameter-list&lt;/span&gt; ] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-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;new-schema&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;db-name.&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;function-name&lt;/code&gt;&lt;/em&gt;``&lt;/dt&gt;
&lt;dd&gt;Name of the SQL function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;arg-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Comma-delimited list of parameters that are defined for this function. If none, specify an empty list.

&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;

OpenText™ Analytics Database supports function overloading and uses the parameter list to identify the function to alter.

&lt;/div&gt;&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;Transfers function ownership to another user.&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 this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

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

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;


CREATE: destination schema&lt;br /&gt;USAGE: current schema&lt;/td&gt;&lt;/tr&gt;&lt;/table&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-function-statements/create-aggregate-function/#&#34;&gt;CREATE AGGREGATE FUNCTION&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER ANALYTIC FUNCTION</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-analytic-function/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-analytic-function/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../../en/extending/developing-udxs/analytic-functions-udanfs/&#34;&gt;user-defined analytic function&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 ANALYTIC FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [ &lt;span class=&#34;code-variable&#34;&gt;parameter-list&lt;/span&gt; ] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-owner&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
    | SET FENCED &lt;span class=&#34;code-variable&#34;&gt;boolean-expr&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new-schema&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;db-name.&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;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;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Comma-delimited list of parameters that are defined for this function. If none, specify an empty list. 
&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;

Vertica supports function overloading, and uses the parameter list to identify the function to alter.

&lt;/div&gt;&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;Transfers function ownership to another user.&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 this function.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET FENCED { true | false }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to enable &lt;a href=&#34;../../../../../en/extending/udxs/fenced-and-unfenced-modes/&#34;&gt;fenced mode&lt;/a&gt; for this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

&lt;th &gt;
Operation&lt;/th&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;CREATE: destination schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;USAGE: current schema&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&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-function-statements/create-analytic-function/#&#34;&gt;CREATE ANALYTIC FUNCTION&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER FILTER</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-filter/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-filter/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../../en/extending/developing-udxs/user-defined-load-udl/user-defined-filter/&#34;&gt;user-defined filter&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 FILTER [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [ &lt;span class=&#34;code-variable&#34;&gt;parameter-list&lt;/span&gt; ] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-owner&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
    | SET FENCED &lt;span class=&#34;code-variable&#34;&gt;boolean-expr&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new-schema&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;db-name.&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;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;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Comma-delimited list of parameters that are defined for this function. If none, specify an empty list. 
&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;

Vertica supports function overloading, and uses the parameter list to identify the function to alter.

&lt;/div&gt;&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;Transfers function ownership to another user.&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 this function.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET FENCED { true | false }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to enable &lt;a href=&#34;../../../../../en/extending/udxs/fenced-and-unfenced-modes/&#34;&gt;fenced mode&lt;/a&gt; for this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

&lt;th &gt;
Operation&lt;/th&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;CREATE: destination schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;USAGE: current schema&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&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-function-statements/create-filter/#&#34;&gt;CREATE FILTER&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER FUNCTION (scalar)</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-function-scalar/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-function-scalar/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../../en/extending/developing-udxs/scalar-functions-udsfs/&#34;&gt;user-defined scalar function&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 FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [ &lt;span class=&#34;code-variable&#34;&gt;parameter-list&lt;/span&gt;] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-owner&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
    | SET FENCED &lt;span class=&#34;code-variable&#34;&gt;boolean-expr&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new-schema&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;db-name.&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;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;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Comma-delimited list of parameters that are defined for this function. If none, specify an empty list. 
&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;

Vertica supports function overloading, and uses the parameter list to identify the function to alter.

&lt;/div&gt;&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;Transfers function ownership to another user.&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 this function.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET FENCED { true | false }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to enable &lt;a href=&#34;../../../../../en/extending/udxs/fenced-and-unfenced-modes/&#34;&gt;fenced mode&lt;/a&gt; for this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

&lt;th &gt;
Operation&lt;/th&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;CREATE: destination schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;USAGE: current schema&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&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 function &lt;code&gt;UDF_one&lt;/code&gt; to &lt;code&gt;UDF_two&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER FUNCTION UDF_one (int, int) RENAME TO UDF_two;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Move function &lt;code&gt;UDF_two&lt;/code&gt; to schema &lt;code&gt;macros&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER FUNCTION UDF_two (int, int) SET SCHEMA macros;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Disable fenced mode for function &lt;code&gt;UDF_two&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER FUNCTION UDF_two (int, int) SET FENCED false;
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;see-also&#34;&gt;See also&lt;/h2&gt;
&lt;a href=&#34;../../../../../en/sql-reference/statements/create-statements/create-function-statements/create-function-scalar/#&#34;&gt;CREATE FUNCTION (scalar)&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER FUNCTION (SQL)</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-function-sql/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-function-sql/</guid>
      <description>
        
        
        &lt;p&gt;Alters a user-defined SQL function.&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 FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [&lt;span class=&#34;code-variable&#34;&gt;arg-list&lt;/span&gt;] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-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;new-schema&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;db-name.&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;function-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of the SQL function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;arg-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;A comma-delimited list of function argument names. If none, specify an empty list.&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;Transfers function ownership to another user.&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 this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

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

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;


CREATE: destination schema&lt;br /&gt;USAGE: current 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 function &lt;code&gt;SQL_one&lt;/code&gt; to &lt;code&gt;SQL_two&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER FUNCTION SQL_one (int, int) RENAME TO SQL_two;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Move function &lt;code&gt;SQL_two&lt;/code&gt; to schema &lt;code&gt;macros&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER FUNCTION SQL_two (int, int) SET SCHEMA macros;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Reassign ownership of &lt;code&gt;SQL_two&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; ALTER FUNCTION SQL_two (int, int) OWNER TO user1;
&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-function-statements/create-function-sql/#&#34;&gt;CREATE FUNCTION (SQL)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../../../en/extending/user-defined-sql-functions/#&#34;&gt;User-defined SQL functions&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER PARSER</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-parser/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-parser/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../../en/extending/developing-udxs/user-defined-load-udl/user-defined-parser/&#34;&gt;user-defined parser&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 PARSER [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [ &lt;span class=&#34;code-variable&#34;&gt;parameter-list&lt;/span&gt; ] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-owner&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
    | SET FENCED &lt;span class=&#34;code-variable&#34;&gt;boolean-expr&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new-schema&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;db-name.&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;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;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Comma-delimited list of parameters that are defined for this function. If none, specify an empty list. 
&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;

Vertica supports function overloading, and uses the parameter list to identify the function to alter.

&lt;/div&gt;&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;Transfers function ownership to another user.&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 this function.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET FENCED { true | false }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to enable &lt;a href=&#34;../../../../../en/extending/udxs/fenced-and-unfenced-modes/&#34;&gt;fenced mode&lt;/a&gt; for this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

&lt;th &gt;
Operation&lt;/th&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;CREATE: destination schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;USAGE: current schema&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&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-function-statements/create-parser/#&#34;&gt;CREATE PARSER&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER SOURCE</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-source/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-source/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../../en/extending/developing-udxs/user-defined-load-udl/user-defined-source/&#34;&gt;user-defined load source&lt;/a&gt; function.&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 SOURCE [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [ &lt;span class=&#34;code-variable&#34;&gt;parameter-list&lt;/span&gt; ] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-owner&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
    | SET FENCED &lt;span class=&#34;code-variable&#34;&gt;boolean-expr&lt;/span&gt;
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new-schema&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;db-name.&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;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;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Comma-delimited list of parameters that are defined for this function. If none, specify an empty list. 
&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;

Vertica supports function overloading, and uses the parameter list to identify the function to alter.

&lt;/div&gt;&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;Transfers function ownership to another user.&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 this function.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET FENCED { true | false }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to enable &lt;a href=&#34;../../../../../en/extending/udxs/fenced-and-unfenced-modes/&#34;&gt;fenced mode&lt;/a&gt; for this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

&lt;th &gt;
Operation&lt;/th&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;CREATE: destination schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;USAGE: current schema&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&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-function-statements/create-source/#&#34;&gt;CREATE SOURCE&lt;/a&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: ALTER TRANSFORM FUNCTION</title>
      <link>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-transform-function/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/statements/alter-statements/alter-function-statements/alter-transform-function/</guid>
      <description>
        
        
        &lt;p&gt;Alters a &lt;a href=&#34;../../../../../en/extending/developing-udxs/transform-functions-udtfs/&#34;&gt;user-defined transform function&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 TRANSFORM FUNCTION [[&lt;span class=&#34;code-variable&#34;&gt;db-name.&lt;/span&gt;]&lt;span class=&#34;code-variable&#34;&gt;schema&lt;/span&gt;.]&lt;span class=&#34;code-variable&#34;&gt;function-name&lt;/span&gt;( [ &lt;span class=&#34;code-variable&#34;&gt;parameter-list&lt;/span&gt; ] ) {
    OWNER TO&lt;span class=&#34;code-variable&#34;&gt; new-owner&lt;/span&gt;
    | RENAME TO &lt;span class=&#34;code-variable&#34;&gt;new-name&lt;/span&gt;
    | SET FENCED { true | false }
    | SET SCHEMA &lt;span class=&#34;code-variable&#34;&gt;new-schema&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;db-name.&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;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;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Name of the function to alter.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;parameter-list&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;Comma-delimited list of parameters that are defined for this function. If none, specify an empty list. 
&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;

Vertica supports function overloading, and uses the parameter list to identify the function to alter.

&lt;/div&gt;&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;Transfers function ownership to another user.&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 this function.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;SET FENCED { true | false }&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies whether to enable &lt;a href=&#34;../../../../../en/extending/udxs/fenced-and-unfenced-modes/&#34;&gt;fenced mode&lt;/a&gt; for this function.&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;Moves the function to another schema.&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;Function owner&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ALTER privilege on the function&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For certain operations, non-superusers must also have the following schema privileges:

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



&lt;tr&gt; 

&lt;th &gt;
Operation&lt;/th&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
RENAME TO (rename function)&lt;/td&gt; 

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

&lt;tr&gt; 

&lt;td &gt;
SET SCHEMA (move function to another schema)&lt;/td&gt; 

&lt;td &gt;




&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;CREATE: destination schema&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;USAGE: current schema&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&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-function-statements/create-transform-function/#&#34;&gt;CREATE TRANSFORM FUNCTION&lt;/a&gt;

      </description>
    </item>
    
  </channel>
</rss>
