Link Search Menu Expand Document

TO_INT

Converts a string to a numeric INTEGER data type.

Syntax

TO_INT(<expression>)
Parameter Description
<expression> A numeric data type expression that resolves to a TEXT data type.

Example

SELECT
	TO_INT('10');

Returns: 10