MacLochlainns Weblog

Michael McLaughlin's Technical Blog

Site Admin

How to Describe All Tables and Views

without comments

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 29th, 2008 at 5:07 am

Posted in Oracle