Previous Topic

Next Topic

Book Contents

Book Index

SQL Functions

A function is a routine that returns a value of a specific type. The SQL engine supports functions in the following groups:

Function Group

Description

Aggregate

Perform aggregate calculations on values in SELECT queries containing a GROUP BY clause.

Case

Evaluation expressions to return expressions based on comparisons.

Cast

Convert to a specified data type.

Date

 

 

Manipulate and return dates.

Environment

Manipulate or return information from the operating environment.

Foreign Exchange

FX functions.

GST

For obtaining GST rates and calculating GST.

Number

Manipulate numbers.

Period

Manipulate and work with period IDs.

String

Manipulate strings.

In This Section

SQL Aggregate Functions

SQL Application Functions

SQL Case Functions

SQL Cast Function

SQL Date Functions

SQL Environment Functions

SQL Foreign Exchange Functions

SQL GST Functions

SQL Number Functions

SQL Period Functions

SQL String Functions