<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>OpenText Analytics Database 26.2.x – Functions</title>
    <link>/en/sql-reference/functions/</link>
    <description>Recent content in Functions on OpenText Analytics Database 26.2.x</description>
    <generator>Hugo -- gohugo.io</generator>
    
	  <atom:link href="/en/sql-reference/functions/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Sql-Reference: Aggregate functions</title>
      <link>/en/sql-reference/functions/aggregate-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/aggregate-functions/</guid>
      <description>
        
        
        &lt;p&gt;Aggregate functions summarize data over groups of rows from a query result set. The groups are specified using the &lt;a href=&#34;../../../en/sql-reference/statements/select/group-by-clause/&#34;&gt;GROUP BY&lt;/a&gt; clause. They are allowed only in the select list and in the &lt;a href=&#34;../../../en/sql-reference/statements/select/having-clause/&#34;&gt;HAVING&lt;/a&gt; and &lt;a href=&#34;../../../en/sql-reference/statements/select/order-by-clause/&#34;&gt;ORDER BY&lt;/a&gt; clauses of a &lt;a href=&#34;../../../en/sql-reference/statements/select/#&#34;&gt;SELECT&lt;/a&gt; statement (as described in &lt;a href=&#34;../../../en/sql-reference/language-elements/expressions/aggregate-expressions/#&#34;&gt;Aggregate expressions&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Except for COUNT, these functions return a null value when no rows are selected. In particular, SUM of no rows returns NULL, not zero.&lt;/p&gt;
&lt;p&gt;In some cases, you can replace an expression that includes multiple aggregates with a single aggregate of an expression. For example &lt;code&gt;SUM(x) + SUM(y)&lt;/code&gt; can be expressed as as &lt;code&gt;SUM(x+y)&lt;/code&gt; if neither argument is NULL.&lt;/p&gt;
&lt;p&gt;OpenText™ Analytics Database does not support nested aggregate functions.&lt;/p&gt;
&lt;p&gt;You can use some of the simple aggregate functions as analytic (window) functions. See &lt;a href=&#34;../../../en/sql-reference/functions/analytic-functions/#&#34;&gt;Analytic functions&lt;/a&gt; for details. See also &lt;a href=&#34;../../../en/data-analysis/sql-analytics/#&#34;&gt;SQL analytics&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Some &lt;a href=&#34;../../../en/sql-reference/functions/data-type-specific-functions/collection-functions/&#34;&gt;collection functions&lt;/a&gt; also behave as aggregate functions.&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;

All functions in this section that have an &lt;a href=&#34;../../../en/sql-reference/functions/analytic-functions/&#34;&gt;analytic&lt;/a&gt; function counterpart are appended with [aggregate] to avoid confusion between the two.

&lt;/div&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Analytic functions</title>
      <link>/en/sql-reference/functions/analytic-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/analytic-functions/</guid>
      <description>
        
        
        
&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;

All analytic functions in this section with an aggregate counterpart are appended with [Analytics] in the heading to avoid confusion between the two function types.

&lt;/div&gt;
&lt;p&gt;OpenText™ Analytics Database analytics are SQL functions based on the ANSI 99 standard. These functions handle complex analysis and reporting tasks—for example:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Rank the longest-standing customers in a particular state.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Calculate the moving average of retail volume over a specified time.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Find the highest score among all students in the same grade.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Compare the current sales bonus that salespersons received against their previous bonus.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Analytic functions return aggregate results but they do not group the result set. They return the group value multiple times, once per record. You can sort group values, or partitions, using a window &lt;code&gt;ORDER BY&lt;/code&gt; clause, but the order affects only the function result set, not the entire query result set.&lt;/p&gt;

&lt;h2 id=&#34;syntax&#34;&gt;Syntax&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;General&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;analytic-function&lt;/span&gt;(&lt;span class=&#34;code-variable&#34;&gt;arguments&lt;/span&gt;) OVER(
  [ &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-partition-clause/#&#34;&gt;window-partition-clause&lt;/a&gt;&lt;/span&gt; ]
  [ &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-order-clause/#&#34;&gt;window-order-clause&lt;/a&gt;&lt;/span&gt; [ &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-frame-clause/#&#34;&gt;window-frame-clause&lt;/a&gt;&lt;/span&gt; ] ]
)
&lt;/code&gt;&lt;/pre&gt;&lt;blockquote&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;With named window&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;analytic-function&lt;/span&gt;(&lt;span class=&#34;code-variable&#34;&gt;arguments&lt;/span&gt;) OVER(
  [ &lt;span class=&#34;code-variable&#34;&gt; &lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-name-clause/#&#34;&gt;named-window&lt;/a&gt;&lt;/span&gt; [ &lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-frame-clause/#&#34;&gt;window-frame-clause&lt;/a&gt;&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;analytic-function&lt;/code&gt;&lt;/em&gt;&lt;code&gt;(&lt;/code&gt;&lt;em&gt;&lt;code&gt;arguments&lt;/code&gt;&lt;/em&gt;&lt;code&gt;)&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;An OpenText™ Analytics Database analytic function and its arguments.&lt;/dd&gt;
&lt;dt&gt;&lt;code&gt;OVER&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Specifies how to partition, sort, and window frame function input with respect to the current row. The input data is the result set that the query returns after it evaluates &lt;code&gt;FROM&lt;/code&gt;, &lt;code&gt;WHERE&lt;/code&gt;, &lt;code&gt;GROUP BY&lt;/code&gt;, and &lt;code&gt;HAVING&lt;/code&gt; clauses.
&lt;p&gt;An empty &lt;code&gt;OVER&lt;/code&gt; clause provides the best performance for single threaded queries on a single node.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-partition-clause/#&#34;&gt;window-partition-clause&lt;/a&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;Groups input rows according to one or more columns or expressions.
&lt;p&gt;If you omit this clause, no grouping occurs and the analytic function processes all input rows as a single partition.&lt;/p&gt;
&lt;/dd&gt;
&lt;dt&gt;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-order-clause/#&#34;&gt;window-order-clause&lt;/a&gt;&lt;/span&gt;&lt;/dt&gt;
&lt;dd&gt;Optionally specifies how to sort rows that are supplied to the analytic function. If the &lt;code&gt;OVER&lt;/code&gt; clause also includes a partition clause, rows are sorted within each partition.&lt;/dd&gt;
&lt;dt&gt;
&lt;code&gt;&lt;span class=&#34;code-variable&#34;&gt;&lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-frame-clause/#&#34;&gt;window-frame-clause&lt;/a&gt;&lt;/span&gt;&lt;/code&gt;&lt;/dt&gt;
&lt;dd&gt;Only valid for some analytic functions, specifies as input a set of rows relative to the row that is currently being evaluated by the analytic function. After the function processes that row and its window, the database advances the current row and adjusts the window boundaries accordingly.&lt;/dd&gt;
&lt;dt&gt;&lt;em&gt;&lt;code&gt;named-window&lt;/code&gt;&lt;/em&gt;&lt;/dt&gt;
&lt;dd&gt;The name of a window that you define in the same query with a &lt;a href=&#34;../../../en/sql-reference/language-elements/window-clauses/window-name-clause/#&#34;&gt;window-name-clause&lt;/a&gt;. This definition encapsulates window partitioning and sorting. Named windows are useful when the query invokes multiple analytic functions with similar &lt;code&gt;OVER&lt;/code&gt; clauses.
&lt;p&gt;A window name clause cannot specify a window frame clause. However, you can qualify the named window in an &lt;code&gt;OVER&lt;/code&gt; clause with a window frame clause.&lt;/p&gt;
&lt;/dd&gt;
&lt;/dl&gt;
&lt;h2 id=&#34;requirements&#34;&gt;Requirements&lt;/h2&gt;
&lt;p&gt;The following requirements apply to analytic functions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;All require an &lt;code&gt;OVER&lt;/code&gt; clause. Each function has its own &lt;code&gt;OVER&lt;/code&gt; clause requirements. For example, you can supply an empty &lt;code&gt;OVER&lt;/code&gt; clause for some analytic aggregate functions such as 
&lt;code&gt;&lt;a href=&#34;../../../en/sql-reference/functions/analytic-functions/sum-analytic/#&#34;&gt;SUM&lt;/a&gt;&lt;/code&gt;. For other functions, window frame and order clauses might be required, or might be invalid.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Analytic functions can be invoked only in a query&#39;s &lt;code&gt;SELECT&lt;/code&gt; and &lt;code&gt;ORDER BY&lt;/code&gt; clauses.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Analytic functions cannot be nested. For example, the following query is not allowed:&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;=&amp;gt; SELECT MEDIAN(RANK() OVER(ORDER BY sal) OVER()).
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;code&gt;WHERE&lt;/code&gt;, &lt;code&gt;GROUP BY&lt;/code&gt; and &lt;code&gt;HAVING&lt;/code&gt; operators are technically not part of the analytic function. However, they determine input to that function.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&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-analysis/sql-analytics/#&#34;&gt;SQL analytics&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;a href=&#34;../../../en/data-analysis/query-optimization/group-by-queries/#&#34;&gt;GROUP BY queries&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Client connection functions</title>
      <link>/en/sql-reference/functions/client-connection-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/client-connection-functions/</guid>
      <description>
        
        
        &lt;p&gt;This section contains client connection management functions specific to OpenText™ Analytics Database.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Data-type-specific functions</title>
      <link>/en/sql-reference/functions/data-type-specific-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/data-type-specific-functions/</guid>
      <description>
        
        
        &lt;p&gt;OpenText™ Analytics Database provides functions for use with specific data types, described in this section.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Database Designer functions</title>
      <link>/en/sql-reference/functions/db-designer-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/db-designer-functions/</guid>
      <description>
        
        
        &lt;p&gt;Database Designer functions perform the following operations, generally performed in the following order:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Setup&#34;&gt;Create a design&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Configur&#34;&gt;Set design properties&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Populate&#34;&gt;Populate a design&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Create&#34;&gt;Create design and deployment scripts&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Get&#34;&gt;Get design data&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;#Clean&#34;&gt;Clean up&lt;/a&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&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 can also use meta-function &lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-single-run/#&#34;&gt;DESIGNER_SINGLE_RUN&lt;/a&gt;, which encapsulates all of these steps with a single call. The meta-function iterates over all queries within a specified timespan, and returns with a design ready for deployment.
&lt;/div&gt;
&lt;p&gt;For detailed information, see &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/running-db-designer-programmatically/workflow-running-db-designer-programmatically/#&#34;&gt;Workflow for running Database Designer programmatically&lt;/a&gt;. For information on required privileges, see &lt;a href=&#34;../../../en/admin/configuring-db/creating-db-design/running-db-designer-programmatically/privileges-running-db-designer-functions/#&#34;&gt;Privileges for running Database Designer functions&lt;/a&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;

Before running Database Designer functions on an existing schema, back up the current design by calling &lt;a href=&#34;../../../en/sql-reference/functions/management-functions/catalog-functions/export-catalog/#&#34;&gt;EXPORT_CATALOG&lt;/a&gt;.

&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;&lt;a name=&#34;Setup&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;create-a-design&#34;&gt;Create a design&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-create-design/#&#34;&gt;DESIGNER_CREATE_DESIGN&lt;/a&gt; directs Database Designer to create a design.&lt;/p&gt;
&lt;p&gt;&lt;a name=&#34;Configur&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;set-design-properties&#34;&gt;Set design properties&lt;/h2&gt;
&lt;p&gt;The following functions let you specify design properties:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-set-design-type/#&#34;&gt;DESIGNER_SET_DESIGN_TYPE&lt;/a&gt;: Specifies whether the design is comprehensive or incremental.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-design-projection-encodings/#&#34;&gt;DESIGNER_DESIGN_PROJECTION_ENCODINGS&lt;/a&gt;: Analyzes encoding in the specified projections and creates a script that implements encoding recommendations.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-set-design-ksafety/#&#34;&gt;DESIGNER_SET_DESIGN_KSAFETY&lt;/a&gt;: Sets the &lt;a class=&#34;glosslink&#34; href=&#34;../../../en/glossary/k-safety/&#34; title=&#34;For more information, see Designing for K-Safety.&#34;&gt;K-safety&lt;/a&gt; value for a comprehensive design.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-set-optimization-objective/#&#34;&gt;DESIGNER_SET_OPTIMIZATION_OBJECTIVE&lt;/a&gt;: Specifies whether the design optimizes for query or load performance.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-set-propose-unsegmented-projections/#&#34;&gt;DESIGNER_SET_PROPOSE_UNSEGMENTED_PROJECTIONS&lt;/a&gt;: Enables inclusion of unsegmented projections in the design.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Populate&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;populate-a-design&#34;&gt;Populate a design&lt;/h2&gt;
&lt;p&gt;The following functions let you add tables and queries to your Database Designer design:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-add-design-tables/#&#34;&gt;DESIGNER_ADD_DESIGN_TABLES&lt;/a&gt;: Adds the specified tables to a design.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-add-design-query/#&#34;&gt;DESIGNER_ADD_DESIGN_QUERY&lt;/a&gt;, &lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-add-design-queries/#&#34;&gt;DESIGNER_ADD_DESIGN_QUERIES&lt;/a&gt;, &lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-add-design-queries-from-results/#&#34;&gt;DESIGNER_ADD_DESIGN_QUERIES_FROM_RESULTS&lt;/a&gt;: Adds queries to the design and weights them.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Create&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;create-design-and-deployment-scripts&#34;&gt;Create design and deployment scripts&lt;/h2&gt;
&lt;p&gt;The following functions populate the Database Designer workspace and create design and deployment scripts. You can also analyze statistics, deploy the design automatically, and drop the workspace after the deployment:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-run-populate-design-and-deploy/#&#34;&gt;DESIGNER_RUN_POPULATE_DESIGN_AND_DEPLOY&lt;/a&gt;: Populates the design and creates design and deployment scripts.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-wait-for-design/#&#34;&gt;DESIGNER_WAIT_FOR_DESIGN&lt;/a&gt;: Waits for a currently running design to complete.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;reset-a-design&#34;&gt;Reset a design&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-reset-design/#&#34;&gt;DESIGNER_RESET_DESIGN&lt;/a&gt; discards all the run-specific information of the previous Database Designer build or deployment of the specified design but retains its configuration.&lt;/p&gt;
&lt;p&gt;&lt;a name=&#34;Get&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;get-design-data&#34;&gt;Get design data&lt;/h2&gt;
&lt;p&gt;The following functions display information about projections and scripts that the Database Designer created:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-output-all-design-projections/#&#34;&gt;DESIGNER_OUTPUT_ALL_DESIGN_PROJECTIONS&lt;/a&gt;: Sends to standard output DDL statements that define design projections.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-output-deployment-script/#&#34;&gt;DESIGNER_OUTPUT_DEPLOYMENT_SCRIPT&lt;/a&gt;: Sends to standard output a design&#39;s deployment script.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a name=&#34;Clean&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;cleanup&#34;&gt;Cleanup&lt;/h2&gt;
&lt;p&gt;The following functions cancel any running Database Designer operation or drop a Database Designer design and all its contents:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-cancel-populate-design/#&#34;&gt;DESIGNER_CANCEL_POPULATE_DESIGN&lt;/a&gt;: Cancels population or deployment operation for the specified design if it is currently running.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-drop-design/#&#34;&gt;DESIGNER_DROP_DESIGN&lt;/a&gt;: Removes the schema associated with the specified design and all its contents.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;../../../en/sql-reference/functions/db-designer-functions/designer-drop-all-designs/#&#34;&gt;DESIGNER_DROP_ALL_DESIGNS&lt;/a&gt;: Removes all Database Designer-related schemas associated with the current user.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;


      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Directed queries functions</title>
      <link>/en/sql-reference/functions/directed-queries-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/directed-queries-functions/</guid>
      <description>
        
        
        &lt;p&gt;The following meta-functions let you batch export query plans as directed queries from one OpenText™ Analytics Database and import those directed queries to another database.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Error-handling functions</title>
      <link>/en/sql-reference/functions/error-handling-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/error-handling-functions/</guid>
      <description>
        
        
        &lt;p&gt;Error-handling functions take a string and return the string when the query is executed.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Flex functions</title>
      <link>/en/sql-reference/functions/flex-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/flex-functions/</guid>
      <description>
        
        
        &lt;p&gt;This section contains helper functions for use in working with flex tables and flexible columns for complex types. You can use these functions with flex tables, their associated &lt;em&gt;&lt;code&gt;flex_table&lt;/code&gt;&lt;/em&gt;&lt;code&gt;_keys&lt;/code&gt; tables and &lt;em&gt;&lt;code&gt;flex_table&lt;/code&gt;&lt;/em&gt;&lt;code&gt;_view&lt;/code&gt; views, and flexible columns in external tables. These functions do not apply to other tables.&lt;/p&gt;
&lt;p&gt;For more information about flex tables, see &lt;a href=&#34;../../../en/flex-tables/#&#34;&gt;Flex tables&lt;/a&gt;. For more information about flexible columns for complex types, see &lt;a href=&#34;../../../en/data-load/complex-types/flexible-complex-types/#&#34;&gt;Flexible complex types&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Flex functions allow you to manage and query flex tables. You can also use the map functions to query flexible complex-type columns in non-flex tables.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Formatting functions</title>
      <link>/en/sql-reference/functions/formatting-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/formatting-functions/</guid>
      <description>
        
        
        &lt;p&gt;Formatting functions provide a powerful tool set for converting various data types (DATE/TIME, INTEGER, FLOATING POINT) to formatted strings and for converting from formatted strings to specific data types.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Geospatial functions</title>
      <link>/en/sql-reference/functions/geospatial-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/geospatial-functions/</guid>
      <description>
        
        
        &lt;p&gt;Geospatial functions manipulate complex two-dimensional spatial objects and store them in a database according to the Open Geospatial Consortium (OGC) standards.&lt;/p&gt;
&lt;h2 id=&#34;function-naming-conventions&#34;&gt;Function naming conventions&lt;/h2&gt;
&lt;p&gt;The geospatial functions use the following naming conventions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Most ST_&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt; functions are compliant with the latest OGC standard OGC SFA-SQL version 1.2.1 (reference. number is OGC 06-104r4, date: 2010-08-04). Currently, some ST_&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt; functions may not support all data types. Each function page contains details about the supported data types.&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;

Some functions, such as ST_GeomFromText, are based on previous versions of the standard.

&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The STV_&lt;em&gt;&lt;code&gt;function-name&lt;/code&gt;&lt;/em&gt; functions are unique to OpenText™ Analytics Database and not compliant with OGC standards. Each function page explains its functionality in detail.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;verifying-spatial-objects-validity&#34;&gt;Verifying spatial objects validity&lt;/h2&gt;
&lt;p&gt;Many spatial functions do not validate their parameters. If you pass an invalid spatial object to an ST_ or STV_ function, the function might return an error or produce incorrect results.&lt;/p&gt;
&lt;p&gt;To avoid this issue, OpenText recommends that you first run ST_IsValid on all spatial objects to validate the parameters. If your object is not valid, run STV_IsValidReason to get information about the location of the invalidity.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Hadoop functions</title>
      <link>/en/sql-reference/functions/hadoop-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/hadoop-functions/</guid>
      <description>
        
        
        &lt;p&gt;This section contains functions to manage interactions with Hadoop.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Machine learning functions</title>
      <link>/en/sql-reference/functions/ml-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/ml-functions/</guid>
      <description>
        
        
        &lt;p&gt;Machine learning functions let you work with your data set in different stages of the data analysis process:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Preparing models&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Training models&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Evaluating models&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Applying models&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Managing models&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some OpenText™ Analytics Database machine learning functions are implemented as database UDx functions, while others are implemented as meta-functions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A UDx function accepts an input relation name from a &lt;code&gt;FROM&lt;/code&gt; clause. The &lt;code&gt;SELECT&lt;/code&gt; statement that calls the functions is composable—it can be used as a sub-query in another &lt;code&gt;SELECT&lt;/code&gt; statement.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A meta-function accepts the input relation name as a single-quoted string passed to it as an argument or a named parameter. The data that the &lt;code&gt;SELECT&lt;/code&gt; statement returns cannot be used in a sub-query. Machine learning meta-functions do not support temporary tables.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All machine learning functions automatically cast NUMERIC arguments to FLOAT.

&lt;div class=&#34;admonition important&#34; role=&#34;alert&#34;&gt;
&lt;h4 class=&#34;admonition-head&#34;&gt;Important&lt;/h4&gt;
Before using a machine learning function, be aware that any open transaction on the current session might be committed.
&lt;/div&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Management functions</title>
      <link>/en/sql-reference/functions/management-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/management-functions/</guid>
      <description>
        
        
        &lt;p&gt;OpenText™ Analytics Database has functions to manage various aspects of database operation, such as sessions, privileges, projections, and the catalog.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Match and search functions</title>
      <link>/en/sql-reference/functions/match-and-search-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/match-and-search-functions/</guid>
      <description>
        
        
        &lt;p&gt;This section contains functions for text search and regular expressions, and functions used in the MATCH clause.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Mathematical functions</title>
      <link>/en/sql-reference/functions/mathematical-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/mathematical-functions/</guid>
      <description>
        
        
        &lt;p&gt;Some of these functions are provided in multiple forms with different argument types. Except where noted, any given form of a function returns the same data type as its argument. The functions working with &lt;a href=&#34;../../../en/sql-reference/data-types/numeric-data-types/double-precision-float/&#34;&gt;&lt;code&gt;DOUBLE PRECISION&lt;/code&gt;&lt;/a&gt; data could vary in accuracy and behavior in boundary cases depending on the host system.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: NULL-handling functions</title>
      <link>/en/sql-reference/functions/null-handling-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/null-handling-functions/</guid>
      <description>
        
        
        &lt;p&gt;NULL-handling functions take arguments of any type, and their return type is based on their argument types.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Performance analysis functions</title>
      <link>/en/sql-reference/functions/performance-analysis-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/performance-analysis-functions/</guid>
      <description>
        
        
        &lt;p&gt;The functions in this section support profiling and analyzing database and query performance.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Stored procedure functions</title>
      <link>/en/sql-reference/functions/stored-procedure-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/stored-procedure-functions/</guid>
      <description>
        
        
        &lt;p&gt;This section contains functions for managing &lt;a href=&#34;../../../en/extending/stored-procedures/&#34;&gt;stored procedures&lt;/a&gt;.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: System information functions</title>
      <link>/en/sql-reference/functions/system-information-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/system-information-functions/</guid>
      <description>
        
        
        &lt;p&gt;These functions provide information about the current system state. A superuser has unrestricted access to all system information, but users can view only information about their own, current sessions.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Sql-Reference: Vector functions</title>
      <link>/en/sql-reference/functions/vector-functions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/en/sql-reference/functions/vector-functions/</guid>
      <description>
        
        
        &lt;p&gt;Vector functions perform calculations on vectors expressed as ARRAY inputs of types INT, FLOAT, or NUMERIC. The results of these calculations are returned as measurements in FLOAT.&lt;/p&gt;
&lt;p&gt;You can use these functions for semantic comparison to determine the vector similarity, or distance, between data vectors.&lt;/p&gt;

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