TO_NUMBER function (extension)
Syntax
TO_NUMBER ( char_expression )
Description
The scalar function TO_NUMBER converts the given character expression to a number value.
Example
SELECT * FROM customer
WHERE TO_NUMBER (SUBSTR (phone, 1, 3)) = 603 ;
Notes