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: Get all table names in a database

Re: Get all table names in a database

From: Peter Winters <peterw_at_trinitysoftware.com.au>
Date: Fri, 14 Jan 2000 12:24:33 +1000
Message-ID: <newscache$a10bof$4rn$1@news.iig.com.au>


Do this....If you have logged on with DBA privs

SELECT table_name FROM dba_tables WHERE owner = 'put_the_owners_name_here';

If you want every table leave the WHERE clause out. If you have logged on as the owner do this

SELECT table_name FROM user_tables;

Regards
Peter Winters
Cairns, Queensland, AUSTRALIA.

Legend <legend_at_spacelab.net> wrote in message news:U4vf4.27034$W2.374031_at_iad-read.news.verio.net...
> Hello all,
>
> How would I get all the table names available in a database within sqlplus
a
> session?
>
> regards,
>
> benny
>
>
>
Received on Thu Jan 13 2000 - 20:24:33 CST

Original text of this message

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