oracle DBlink

oracle DBlink

DBlink

远程访问数据的一种方式,可以用来远程从数据拿表,进行操作等等。

语言格式:

create public datebase link ts(dblink 名) connect to scott(用户名) identified by tiger(用户密码)  using 'ip(192.168.137.252)/orcle'

使用方式:select ename,empno from emp@ts(这里) where job='CLECK'

删除:drop datebase link ts(link name);



oracle DBlink