Solved

Can views be defined on dblinks

Posted on 2014-04-08
6
233 Views
Last Modified: 2014-06-18
Interview question - Can views be defined on dblinks
0
Comment
Question by:d27m11y
6 Comments
 
LVL 29

Accepted Solution

by:
MikeOM_DBA earned 168 total points
ID: 39986951
YES
CREATE VIEW MyTable_at_Dblink
AS
SELECT * FROM MyTable@dblink;

Open in new window

:p
0
 
LVL 23

Assisted Solution

by:David
David earned 166 total points
ID: 39987005
Usual reminder to include synonyms and object privileges as appropriate.  And of course to pre-create the actual link :)
0
 
LVL 76

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 166 total points
ID: 39987007
The above post shows how to use a link in a view.

You question asked can be taken another way:
Can you use a view in the remote database with a database link?

That too is yes:
select * from some_view@dblink;

As long as the user used for the dblink has select access on the objects.
0
 
LVL 22

Expert Comment

by:Steve Wales
ID: 40124033
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 

Author Comment

by:d27m11y
ID: 40142100
Please close this question
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
help on oracle query 5 52
Distinct values from all columns in a table?? PL SQL 4 48
Field name with special character (Ñ) in Oracle 11 82
oracle collections 2 19
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
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.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

791 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