cast column as varchar sql code example
Example 1: sql rename column
EXEC SP_RENAME 'TABLE_NAME.OLD_COLUMN_NAME','NEW_COLUMN_NAME'
Example 2: sql cast
-- Specifically for Oracle
-- EXAMPLE
CAST('732.98' AS INT)
/* SYNTAX
CAST(<value_to_cast> AS <data_type_to_cast_to>)
*/
Example 3: orcale sql change column type
ALTER TABLE table_name
MODIFY column_name action;