create public database link dblink connect to scott identified by tiger using 'test'; //test为net manager配置出来的insert into tb1 (,,,) as select ,,,, from tb2@dblink
偶菜菜呀 :(执行connect to scott identified by tiger所用的服务器是哪个?
先配置net8,得到连接另一个服务器的连接字符串 然后创建dblinkconnect to scott identified by tiger//scott/tiger为另一个服务器中的一个用户名和密码 using '连接字符串'
to: 先配置net8,得到连接另一个服务器的连接字符串 怎么配置???我现在做 create public database link dblink connect to scott identified by using 'test'SQL> insert into tab1 (aa) select aa from tab2@dblink;报: ORA-02019: 未找到远程数据库的连接说明和net80的配置有关吧?!
create public database link dblink connect to user2 identified by user2password using 'test' 这里test用net8 manager设置得指向ser2的网络服务名
SQL> insert into tab1 (aa) select aa from tab2@dblink;这里的 dblink 就是dblink吗?还是我的 ser2 ??
ser2 的 net8 manager设置的网络服务名: s2 ser1 的 net8 manager设置的网络服务名: s1 执行: create public database link dblink; connect to user2 identified by user2password using 's2';现在连接上ser2insert into use1.tab1 (aa) select aa from use2.tab2@dblink; insert into use1.tab1 (aa) select aa from use2.tab2@s2; insert into use1.tab1 (aa) select aa from use2.tab2@s1;都报:ORA-02019: 未找到远程数据库的连接说明why????
connect to scott identified by tiger
using 'test'; //test为net manager配置出来的insert into tb1 (,,,) as select ,,,, from tb2@dblink
然后创建dblinkconnect to scott identified by tiger//scott/tiger为另一个服务器中的一个用户名和密码
using '连接字符串'
┏━★━━◆━━★━┓
♂欢|◢CSDN◣|使♂ ▲自由保存帖子,浏览,关注检测
┃迎|◥论坛助手◤|用┃ ▲完善的CSDN客户端工具
┗━☆━━◇━━━☆┛ ▲自动添加签名......让你更快,更爽,更方便地上CSDN...
http://www.csdn.net/expert/topic/573/573604.xml
http://www.chinaok.net/csdn/csdn.zip
先配置net8,得到连接另一个服务器的连接字符串
怎么配置???我现在做
create public database link dblink
connect to scott identified by using 'test'SQL> insert into tab1 (aa) select aa from tab2@dblink;报: ORA-02019: 未找到远程数据库的连接说明和net80的配置有关吧?!
connect to user2 identified by user2password using 'test'
这里test用net8 manager设置得指向ser2的网络服务名
ser1 的 net8 manager设置的网络服务名: s1
执行:
create public database link dblink;
connect to user2 identified by user2password using 's2';现在连接上ser2insert into use1.tab1 (aa) select aa from use2.tab2@dblink;
insert into use1.tab1 (aa) select aa from use2.tab2@s2;
insert into use1.tab1 (aa) select aa from use2.tab2@s1;都报:ORA-02019: 未找到远程数据库的连接说明why????
very very easy!
重新启动数据库