Skip to Main Content

SQL & PL/SQL

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!

reading servers tnsnames from sql session

TPD-OpitzDec 13 2011 — edited Dec 13 2011
Hello,

I have the need to create database links from test instances to production instances every now and then.
But I'm not the database administrator so I dodn't have access to the servers operating system to find out what tns alias the target instance has on this server.

Is there a simple way to list all tns aliasses in the servers tnsnames.ora through a SQL session?
By "simple" I mean without issuing OS commands or accessing the servers tnsnames.ora through an oracle directory.

bye
TPD
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 10 2012
Added on Dec 13 2011
13 comments
408 views