Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Query on Structure of Database
Raoul wrote:
>
> Hello everybody
>
> Are there any SQL commands (or other ways) to get information on the
> structure of a database?
>
> I would like to get information on things like "which tables are within
> a certain tablespace", "what constraints do exist for a field within a
> table", ...
>
> Probably something pretty simple, but I just can't find any starting
> point to search for all this. Any little hint would be welcome.
>
> Thanks a lot
>
> Raoul-Thomas Herborg
cf: Server Reference manual
which will contain the entire database dictionary...
for starters,
dba_tables dba_indexes dba_segments dba_objects dba_tablespaces
etc etc etc
(select * from dba_views where view_name like 'DBA%') --
"Some days you're the pigeon, and some days you're the statue." Received on Wed Jul 21 1999 - 08:24:04 CDT
![]() |
![]() |