Re: Need To See All Objects in Database

From: DA Morgan <damorgan_at_psoug.org>
Date: Mon, 18 Aug 2008 19:38:28 -0700
Message-ID: <1219113499.363222@bubbleator.drizzle.com>


grantschulte_at_gmail.com wrote:
> Hi,
>
> I am a SQL Server / PostgreSQL developer and am fairly new to Oracle.
> I'm starting out using Oracle XE 10g with the web based client that
> comes with it, and Oracle SQL Developer as my clients.
>
> I'm trying to figure out how to see all database objects (for all
> users) in the Object Browser, similar to what you see when logged in
> as 'sa' in SQL Server, or 'postgres' in PostgreSQL. I know there are
> the SYS and SYSTEM accounts, but I don't see other users' tables,
> views, etc when logged in under SYS or SYSTEM. I know that I can
> SELECT TABLE_NAME FROM ALL_TABLES; but that's not like seeing them in
> a tree view.
>
> The following Groups post was the closest thing I could find to an
> answer:
>
> http://groups.google.ca/group/comp.databases.oracle/browse_thread/thread/e34232fbff48aa59
>
> ... but this is from 2001, and the answer given is that it can't be
> done. Has anything changed since then?
>
> I have used a SQL Server 2000 DTS package to connect to Oracle with an
> Oracle username/password and was able to browse other users' objects
> that I had permissions to see, so there must be a way to do this.
>
> Any help would be greatly appreciated!
>
> Thanks,
> Grant Schulte

You are doing the equivalent of dropping a brick on your foot if you think you can be successful with Oracle by treating it like it is in any significant way similar to other RDBMS products.

Before you touch it you need to read the concepts and architecture docs at http://tahiti.oracle.com.

The data dictionary
http://www.psoug.org/reference/data_dict.html is where information is located.
You want to learn the ALL_ and USER_ views for developer work. The DBA_ views for answering your specific question assuming you know what the word "database" means in Oracle. Hint: It's meaning has nothing to do with the definition of "database" in SQL Server: Two entirely different constructs.

-- 
Daniel A. Morgan
Oracle Ace Director & Instructor
University of Washington
damorgan_at_x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Mon Aug 18 2008 - 21:38:28 CDT

Original text of this message