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: Q: What is done when using desc?

Re: Q: What is done when using desc?

From: M. Stratford <mark.stratford_at_misys.com>
Date: 14 Jan 2003 01:17:04 -0800
Message-ID: <2bcc2302.0301140117.36466680@posting.google.com>


> > I am wondering about what sqlplus is doing when I query the database with a
> > DESC TABLE.
maybe something like..??

      SELECT column_name,
            data_type,
            nullable,
            data_length,
            data_precision,
            data_scale,
            default_length,
            data_default
        FROM all_tab_columns
        WHERE table_name = :XYZ;

Mark Stratford Received on Tue Jan 14 2003 - 03:17:04 CST

Original text of this message

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