Updated on 2025-09-05 GMT+08:00

Type Conversion Functions

The following table lists the type conversion functions supported by SecMaster SQL syntax.

Table 1 Type conversion functions supported by SecMaster SQL syntax

Function

Function Description

CAST(value AS type)

Returns a new value that has been converted to the type. For example, CAST('42' AS INT) returns 42, and CAST(NULL AS VARCHAR) returns NULL of the VARCHAR type.