SQL Oracle 10g List all database tables and the columns -
SQL Oracle 10g List all database tables and the columns -
i've got oracle 10g database few hundred tables , want create list of table name, columns has , comments columns. normal table this:
http://i.imgur.com/khwffov.jpg
i want list of column_name , comments each table. tried getting metadata using:
select table_name, column_name, comments user_tab_columns ;
but errors out since i'm mixing metadata , not. i'm confused on how want.
thanks
i want list of column_name , comments each table.
query user_col_comments
, user_tab_columns
, select table_name
, column_name
, comments
.
make join
on owner
, table_name
, column_name
.
sql oracle
Comments
Post a Comment