今天在虛擬機上裝了個Oracle Client(10G), 建立DBLINK 如下:
create public database link testdblink
aaa
identified by aaa
using '***.***.***.***:1521/gcerp';
如果連10g Server,則OK,連11g則報錯,經發現將密碼加上雙引號就好了
create public database link testdblink
connect to aaa
identified by "aaa"
using '***.***.***.***:1521/gcerp';