table_name,
column_name,
data_type || decode(data_type,'DATE', ' ', '(' || data_length || decode(data_scale,null,'', ',' || data_scale) || ')' ) as Data_Type,
nullable,
data_default
from dba_tab_columns
where owner in('SCOTT','MARY') ;
If dba_tab_columns is not available, table user_tab_colimns will also work. column_name,
data_type || decode(data_type,'DATE', ' ', '(' || data_length || decode(data_scale,null,'', ',' || data_scale) || ')' ) as Data_Type,
nullable,
data_default
from dba_tab_columns
where owner in('SCOTT','MARY') ;
Related Notes:
No comments:
Post a Comment