Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Describing objects
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