Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Printing a data dictionary
In article <6rru40$ltb$1_at_ns1.cat.com>,
Pam Richmond <"Richmond_at_Pamela_D"@cat.com.NOSPAM> wrote:
> Does anyone know of a way in Oracle to print out a data dictionary
> (without
> doing a desc on each table)?
> Thanks!
>
>
Pam,
Try the following, I think it'll give you what you want
SQL> break on table_name
SQL> select table_name,
2 column_name, 3 data_type, 4 data_length, 5 decode(nullable,'N','NOT NULL',null)6 from all_tab_columns
If there is more information that you require then have a look at the ALL_TAB_COLUMNS view definition as it details column definitions etc
Regards
Gareth
-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum Received on Wed Aug 26 1998 - 07:06:14 CDT
![]() |
![]() |