?
Solved

See all tables within an oracle dblink

Posted on 2011-09-08
3
Medium Priority
?
2,348 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
  • 2
3 Comments
 
LVL 78

Accepted Solution

by:
slightwv (䄆 Netminder) earned 2000 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 78

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
This video shows how to recover a database from a user managed backup
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

839 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