Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Describing objects

Re: Describing objects

From: Daniel Morgan <dmorgan_at_exesolutions.com>
Date: Fri, 20 Sep 2002 21:22:03 GMT
Message-ID: <3D8B9175.FDD9A48D@exesolutions.com>

David Fishburn wrote:

> In Microsoft SQL Server, you can do something like this:
> call sp_help table_name|procedure_name|index_name
>
> And you will get some form of textual output that describes the object.
> In other databases, you must call a different routine for each type of
> object, example:
> call sp_describe_table table_name
> call sp_describe_procedure proc_name
>
> Is there some equivalent statement in Oracle 8 or 9?
>
> I thought I had already posted this question, but I didnt see it show up.
> Apologies if this is a second posting.
>
> Thanks,
> Dave

tables ... use desribe as in:

desc my_table_name

describe also works on packages, procedures, and functions.

Daniel Morgan Received on Fri Sep 20 2002 - 16:22:03 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US