Hi,
When i try to create DB link between 2 databases which exist in same server , DB link creation was successful and was able to query data objects from source to target database.
create PUBLIC database link COMMON_USER connect to COMMON_USER identified by pwd using 'ORCL2';
SQL> select count(*) from COMMON_USER.REQUEST@COMMON_USER.COM;
COUNT(*)
----------
944035
Similarily when i try to create DB link between 2 database where source database exist in one server and target database exist in different server , DB link creation was successful but was unable to query data objects from source to target database and got error also.
create PUBLIC database link PROCESS_USER connect to PROCESS_USER identified by pwd using 'DEMO';
SQL> select count(*) from PROCESS_USER.CHANGELOG@PROCESS_USER.COM;
select count(*) from PROCESS_USER.CHANGELOG@PROCESS_USER.COM;
*
ERROR at line 1:
ORA-12154: TNS:could not resolve the connect identifier specified
Can you please help me to fix this error.
Regards,
[Updated on: Wed, 26 February 2014 05:00]
Report message to a moderator