cast

Converts the specified value to another datatype.

Syntax

cast (expression as datatype [(length | precision[, scale])])

Parameters

Examples

Standards

ANSI SQL – Compliance level: ANSI compliant.

Permissions

Any user can execute cast.