sql char to number code example
Example 1: sql cast
-- Specifically for Oracle
-- EXAMPLE
CAST('732.98' AS INT)
/* SYNTAX
CAST(<value_to_cast> AS <data_type_to_cast_to>)
*/
Example 2: convert money to varchar sql server
SELECT convert(varchar(30), moneyfield, 1)