Skip to main content
The API interprets all SQL function inputs as either strings or column identifiers. All literals must be escaped as strings with single quotes. For example, contrast the SQL Server syntax and provider syntax for the DATENAME function:
  • SQL Server:
  • Connect AI:

STRING Functions

String functions perform string manipulations and return a string value. See STRING Functions for more details.

DATE Functions

These functions perform date and date time manipulations. See DATE Functions for more details.

Math Functions

These functions provide mathematical operations. See MATH Functions for more details.

Aggregate Functions

Aggregate functions return data from across multiple rows. See Aggregate Functions for more details.

Window Functions

Window functions allow you to create computed fields from a group of rows (a window) that return a result for each row, as opposed to one computed result for a set of rows, as is the case with aggregate functions.

Table-Valued Functions

Table-valued functions are functions that return a table (rowset).

Function Parameters and Nesting SQL Functions

The provider supports column names, constants, and results of other functions as parameters to functions. The following are all valid uses of SQL functions: