Re: DBLink Name has to be the same as SID name?
Date: Thu, 12 Mar 2009 14:01:11 -0500
No, the db link creation statement points to a tns alias in tnsnames.ora. Suppose you had a database sid TST1 and a tnsnames.ora alias named TEST that provided the hostname and listener port for the TST1 sid. You could execute the following:
create database link fred
connect to your_id identified by your_password using 'TEST';
and your link would work. The link fred wants to use the tns alias TEST which points to the hostname, port., sid combination that tns networking needs to get to the listener for the other instance.
select sydate from dual_at_fred;
would verify your link.
On Thu, Mar 12, 2009 at 1:51 PM, Lyndon Tiu <ltiu_at_alumni.sfu.ca> wrote:
> Does the dblink name have to be the same as the SID name?
> Lyndon Tiu