SQL> SELECT CAST(123 AS NUMBER(10,6)) FROM dual;
CAST(123ASNUMBER(10,6))
-----------------------
123.000000
CAST函数:数据类型转换
CAST( 列名/值 AS 数据类型)
SQL> SELECT CAST(123 AS NUMBER(10,6)) FROM dual;
CAST(123ASNUMBER(10,6))
-----------------------
123.000000
CAST函数:数据类型转换
CAST( 列名/值 AS 数据类型)