Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> NUMBER data type question
Hello all,
When I create table with column a with numeric data type as follows:
SQL> create table testing (a number(15,2));
Table created.
SQL> desc testing;
Name Null? Type ------------------------------- -------- ---- testing NUMBER(15,2)
When I query the all_tab_columns, the definition of a in testing is:
DATA_TYPE DATA_LENGTH DATA_PRECISION DATA_SCALE N COLUMN_ID DEFAULT_LENGTH
SQL> create table testing (a number);
Table created.
SQL> desc testing;
Name Null? Type ------------------------------- -------- ---- testing NUMBER
When I query the all_tab_columns, the definition of a in testing is:
DATA_TYPE DATA_LENGTH DATA_PRECISION DATA_SCALE N COLUMN_ID DEFAULT_LENGTH
Thanks,
David
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Sun Mar 12 2000 - 00:00:00 CST
![]() |
![]() |