Solved

See all tables within an oracle dblink

Posted on 2011-09-08
3
1,489 Views
Last Modified: 2012-05-12
I need to see all the tables within a dblink'd schema in oracle. What is the query to see all tables?
0
Comment
Question by:radcoders
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 77

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 36503072
Try this:
select table_name from all_tables@dblinkname;
0
 

Author Closing Comment

by:radcoders
ID: 36503082
Thanks that worked!
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 36503100
Glad to help.

I suppose I should also point out that there is a USER level view that will show you the tables owned by the user used in the dblink.

ALL level views show everyhing this user can access.

User level:
select table_name from user_tables@dblinkname;
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question