Maclochlainn's Weblog

Michael McLaughlin's Old Technical Blog

How to Describe All Tables and Views

leave a comment »

The lack of a DESCRIBE ALL command frustrated me when working on my first Oracle Applications instance. I wrote a view that describes all tables and views in a schema. Then, I wrote a query that formats the data from the view. The datatypes are now current for Oracle 11g. There’s also a PHP program to provide a web view of the data.

The query lets you see the formatted data from the SQL> prompt, where you can spool it to a file.

You can find the view, query and PHP program here.


Written by maclochlainn

June 29, 2008 at 5:07 am

Posted in Oracle

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: