Create database link [message #112081] |
Tue, 22 March 2005 19:02 |
cq4oracle
Messages: 1 Registered: March 2005 Location: San Jose
|
Junior Member |
|
|
Hi,
I have a question in creating database link and accessing data from other database. I created a link
create database link dblink connect to scott identified by tiger
using 'test';
and when tried to access the data
select count(*) from emp@dblink
it gives me
ORA-12154: TNS:could not resolve service name
but, when i connect the same user with like this
sqlplus scott/tiger@test it works fine.
Can anyone tell me what the problem is?
Thanks,
Srilatha
|
|
|
|