cast as number sql code example
Example 1: sql cast
-- Specifically for Oracle
-- EXAMPLE
CAST('732.98' AS INT)
/* SYNTAX
CAST( AS )
*/
Example 2: sql cast to integer
-- NOTE: this is for SQL-Oracle specifically
/*
<...> : Your personal entry
*/
-- syntax:
CAST( as ) -- in this case: = INTEGER
-- example:
SELECT CAST(MEMBER_NO as INTEGER)
FROM DUAL;