Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle simple task
"WKC" <wkchen_at_bigfoot.com> wrote in message
news:zWxq7.33695$n5.4155715_at_typhoon.nyc.rr.com...
> I'm having trouble listing out all tables in oracle using this sql..
>
> select * from v$database
>
> can anyone suggest any other way to list out all the table in a schema in
> using sqlplus?
>
> thanks..
>
>
>
Your sql-statement is incorrect.
Please refer to dba_tables
and issue
select * from dba_tables where owner = '<schemaname>'
v$database will list the name of the database only.
Regards,
Sybrand Bakker, Senior Oracle DBA Received on Thu Sep 20 2001 - 23:08:21 CDT
![]() |
![]() |