定義整型可以定義為integer,它是number的子類型。

解决方案 »

  1.   

    Specify an integer using the following form: NUMBER(p)
      

  2.   

    The NUMBER datatype stores zero, positive, and negative fixed and floating-point numbers with magnitudes between 1.0 x 10-130 and 9.9...9 x 10125 (38 nines followed by 88 zeroes) with 38 digits of precision. If you specify an arithmetic expression whose value has a magnitude greater than or equal to 1.0 x 10126, Oracle returns an error.create table table_name(a integer);  --自已创建就知道了