Data Type Conversion Functions

Data type conversion functions convert arguments from one data type to another.

This table lists the data type conversion functions and their parameters.

Data type conversion functions

Data type conversion function

Parameters

BIGINTTOHEX

( integer-expression )

CAST

( expression AS data type )

CONVERT

( data type, expression [ , format-style ] )

HEXTOBIGINT

( hexadecimal-string )

HEXTOINT

( hexadecimal-string )

INTTOHEX

( integer-expr )

ISDATE

( string )

ISNUMERIC

( string )

Description

The database server carries out many type conversions automatically. For example, if a string is supplied where a numerical expression is required, the string is automatically converted to a number.

Related reference
Data Type Conversions
Storage Size