Number型的大小默认为“0”?
Number型的大小默认好象是32吧!

解决方案 »

  1.   

    --number的大小默认不是32
    SQL> desc testc;
    Name Type       Nullable Default Comments 
    ---- ---------- -------- ------- -------- 
    ID   NUMBER(10) Y                         
    NAME NUMBER     Y                         SQL> insert into testc values(1,1111111111111);1 row insertedSQL> insert into testc values(2,22222222222222222222222222222);1 row insertedSQL> insert into testc values(3,3333333333333333333333333333333);1 row insertedSQL> insert into testc values(4,55555555555555555555555555555555555555555);1 row insertedSQL> select * from testc;         ID       NAME
    ----------- ----------
              2 2.22222222222222E28
              1 1111111111111
              3 3.33333333333333E30
              4 5.55555555555556E40SQL> commit;Commit completeSQL>