dblink
Posted zqiushi
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了dblink相关的知识,希望对你有一定的参考价值。
1 create public database link <linkname> connect to <user> identified by "<password>" 2 using ‘(DESCRIPTION = 3 (ADDRESS_LIST = 4 (ADDRESS = (PROTOCOL = TCP)(HOST = <IP>)(PORT = 1521)) 5 ) 6 (CONNECT_DATA = 7 (SERVICE_NAME = <orcl>)))‘ 8 9 10 SELECT * FROM <user>.<table_name>@<linname> 11 12 13 14 15 select * from dba_db_links where db_link=‘<dblink_name>‘ 16 17 DROP PUBLIC DATABASE LINK ‘<dblink_name>‘;
以上是关于dblink的主要内容,如果未能解决你的问题,请参考以下文章
为啥不能通过 DBLink 发送 Oracle XMLType?