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

Home -> Community -> Usenet -> c.d.o.server -> Re: show the fields of table name in oracle

Re: show the fields of table name in oracle

From: Alan <alan_at_erols.com>
Date: Mon, 29 Nov 2004 12:59:19 -0500
Message-ID: <3116bmF35lr7lU1@uni-berlin.de>


Dan,

Why are you answering what is so obviously a homework question?

"DA Morgan" <damorgan_at_x.washington.edu> wrote in message news:1101743220.462383_at_yasure...
> Matt wrote:
> > Given the table name, how to tell the structure of table in oracle?
> > For example, I know the table name called Student, but I want to know
the
> > fields of table student. If I query "Select * from Student;" it only
> > displays all records, which I don't want.
> >
> > Please advise. thanks!!
>
> desc <table_name> ... so for example:
> SQL> desc mytable
>
> For a full description if an object table:
> SQL> set describe depth all linenum on indent on
> SQL> desc mytable
>
> --
> Daniel A. Morgan
> University of Washington
> damorgan_at_x.washington.edu
> (replace 'x' with 'u' to respond)
Received on Mon Nov 29 2004 - 11:59:19 CST

Original text of this message

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