How to see all tables and Views in Oracle 10g and upwards?

When I put "show views" or "show tables", it gives me error like ORA-00900. How can i see the all tables, views and indexes associated by Schema?

What should be the exact SQL command?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Guy Hengel [angelIII / a3]Billing EngineerCommented:
SHOW VIEWS is MySQL, not oracle ...
all tables:
select * from dba_all_tables

select ..... from user_tables

select ...... from user_views

select...... from user_indexes

if you want to know about the colomns then use

desc user_tables

desc  user_views

desc user_indexes
select * from tab where tabtype='TABLE';
select * from tab where tabtype='VIEW';
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

aburaihanxpAuthor Commented:
Actually i am using oracle sql developer. when i am writing the sql, then, the list of all available view is coming like the attachment. But, when i am putting the "select * from tab where tabtype='VIEW';" query, i am getting nothing as output.

Can you please let me know what could be the possible reason?
try to use your ORACLE SQL *Plus. you will get the results.
aburaihanxpAuthor Commented:
SQL*Plus: Release - Production on Mon Apr 12 15:30:54 2010

Copyright (c) 1982, 2006, Oracle.  All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP and Data Mining options

SQL> select * from tab where tabtype='VIEW';

no rows selected

slightwv (䄆 Netminder) Commented:
use the views provided by Bawer in http:#30507684

Once you get the concept behind the naming they are straight forward:

USER_ - What you own.
ALL_ - What you have access to
DBA_ - everything

So if you are looking for tables you own select from: USER_TABLES.
Views you own: USER_VIEWS
Indexes you own:  USER_INDEXES

Any VIEW you have access to:  ALL_VIEWS

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
DavidSenior Oracle Database AdministratorCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.