how to reference database link without domain name?
Hi, it is the first time I have this kind of problem, I created a new 10g instance yesterday, in one of the schema I need to reference tables in another instance - TEST2, so I created a db link:
create database link ODW.REGRESS.RDBMS.DEV.US.ORACLE.COM
connect to testdb identified by testdb
using 'TEST2';
I swear I can reference the table without domain name in 10g before, like this:
select * from tab1@odw
but not this time, it seems that I have to use the full name:
select * from tab1@ODW.REGRESS.RDBMS.DEV.US.ORACLE.COM
and it seems that if I wan to use tab1@odw, I have to create another db link:
create database link ODW
connect to testdb identified by testdb
using 'TEST2';
anyone has the same problem before?