Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: show the fields of table name in oracle
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 - 09:48:30 CST
![]() |
![]() |