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: Novice question about table in SQL

Re: Novice question about table in SQL

From: Martin Doherty <martin.doherty_at_oracle.nospam.com>
Date: Mon, 28 Oct 2002 16:42:59 -0800
Message-ID: <yVkv9.11$9v5.462@news.oracle.com>


Assuming you are using SQL*Plus (a fair bet, based on the examples you gave) then type
SQL> describe cd
This is a SQL*Plus command which gives a quick summary of the column names, data types and NOT NULL constraints. It can be abbreviated to 'desc'.

Martin

jimmy wrote:

>I have installed personal edition of oracle on my computer, I know to
>find all of the tables in my database I use
>select * from tab;
>
>I wish to create a table then add rows to it latter,
>When I use such has
>
>SQL> SELECT * FROM cd ;
>
>I get no rows selected,
>
>How can I get to see the contents of which my table is made up, such
>has my cd table below, if I have not put in any information in to the
>rows of the table , has I may forget how my table is made up
>
>
>CD_NAME CD_ARTIST CD_LABEL
>-------------------- -------------------- --------------------
>
>
>Yours truly,
>James mcgivern
>
>
Received on Mon Oct 28 2002 - 18:42:59 CST

Original text of this message

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