identify difference from NUMBER(5) and NUMBER(8,2) USER_TAB_COLUMNS
问题 I want to get the columns names and datatype and its datatype's length .as example if there is a table SQL> create table TestTable( 2 ID VARCHAR2(4) NOT NULL, 3 CODE Number(5), 4 MyDate DATE, 5 MyNumber Number(8,2)) I need something like in some_column to identify separately number(5) is for an integer and number(8,2) is for a desimal value... I tried this SELECT column_name, data_type, data_length FROM USER_TAB_COLUMNS WHERE table_name = 'some_table' but this data_length gives me the length