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: Oracle newbie--opening database and listing tables?

Re: Oracle newbie--opening database and listing tables?

From: John P. Higgins <jh33378_at_deere.com>
Date: Tue, 04 Aug 1998 20:29:44 -0500
Message-ID: <35C7B587.A36C4A40@deere.com>


1&2) An Oracle system has just one database. If you are at the SQL prompt, then you are already connected to THE database. 3) select * from all_tables; to list all the tables you can access

    describe table_name to see the definition of table_name 4) spool file_name

    select -----;
    spool off

martin wrote:

> Im new to Oracle but experienced in Sybase. What is the command in
> Oracle to (these
> are all from the SQL server command prompt):
> 1. List databases from the SQL prompt?
> 2. Use a particular database?
> 3. List tables and their definitions?
> 4. Export data from a table (join) to an ascii output file?
>
> Im good to go w/SQL but cant seem to do the above like I could in
> Sybase, Just need the commands as I have no documentation at all.
>
> TIA,
> Martin
Received on Tue Aug 04 1998 - 20:29:44 CDT

Original text of this message

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