oracle dump 数据

来源:互联网 发布:美工待遇 编辑:程序博客网 时间:2024/05/17 07:44

函数: dump(列名,进制)

功能:按字节显示出数据在oracle内部的存储格式


示例:dump出numerice类型数据的存储内容:"-999999999999999999999999999999.99999999"

SQL> create table t9(id numeric(38,8));Table created.SQL> insert into t9 values(-999999999999999999999999999999.99999999);1 row created.SQL> select dump(id, 16) from t9;DUMP(ID,16)--------------------------------------------------------------------------------Typ=2 Len=21: 30,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,66SQL> select dump(id, 10) from t9;DUMP(ID,10)--------------------------------------------------------------------------------Typ=2 Len=21: 48,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,102


原创粉丝点击