---
title: "关于ORACLE 过程中创建DBLINK的笔记"
author: "vortexchoo"
date: "2014-08-27T08:19:09Z"
tags: []
categories: ["数据库"]
slug: "oracle-dblink"
draft: false
lastmod: "2014-08-27T08:19:09Z"
id: 2109375
url: "https://vortexchoo.iteye.com/blog/2109375"
---

declare  
   
         str  varchar2(4000);  
          
         begin  
            
            str:='create  database link chunf connect to DEVSINSYS identified by "8888" using ''(DESCRIPTION =  
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.132)(PORT = 1521))  
    (CONNECT\_DATA =  
      (SERVER = DEDICATED)  
      (SERVICE\_NAME = SAAS)  
    )  
  )''';  
   
  execute immediate str;  
   
  end;