Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DB Link creation - No TNS Entry

881151Aug 9 2011 — edited Aug 9 2011
Hi Guys,

I need some help in creating DB Links.

1. While I read the documentation for DB link creation, I found that TNSNAMES.ora entry of the target DB is essential to create the DB link ( in USING clause of the DB link syntax

Incidentally, my organization uses LDAP to resolve/identify the database. In this situation, how can i create the DB linkin

2. I need to create DB link object on schema A to connect to schema B. Both schema A and B are on the same instance.

Something like

create database link link_from_a_2_b
connect to b identified by bpass
using <i dont know what should be given here as said in #1 >

The question I have is : Can a DB link of this sort be created?

I understand that referencing objects in B from A this way is not a ideal method since we can grant permissions to A to access objects in B. However, there is a possiblity that B might be moved to a new instance in future. So if I create a DB link, movement of B across different instance would be much quicker.

Thanks in advance for your assistance in this regard.

Cheers
Arun
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 6 2011
Added on Aug 9 2011
2 comments
2,225 views