|
| Re: Connecting to another Oracle Server [message #318206 is a reply to message #318195 ] |
Tue, 06 May 2008 02:03   |
Michel Cadot Messages: 15244 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
Whatever change behind the scene, entry name in tnsnames.ora should not. It is the logical level.
In the opposite IP may change, this is why DNS is made for, to hide IP change with a name.
In the same way, tnsnames.ora is made to hide any change on database location or access path, server, port, connect data and so on.
Your database link should be created on tnsnames.ora entry name and so can always access the database.
If tnsnames.ora entry names change then there is a flaw in the name you named them.
Regards
Michel
[Updated on: Tue, 06 May 2008 02:04]
|
|
|
|
| Re: Connecting to another Oracle Server [message #318239 is a reply to message #318214 ] |
Tue, 06 May 2008 03:25  |
Michel Cadot Messages: 15244 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
Anyway you can't access remote database inside a procedure without a db link.
Regards
Michel
|
|
|