天极Yesky
  • 笔记本电脑
    笔记本
  • 台式电脑
    台式机
  • 手机
    手机
  • 电脑硬件DIY
    DIY硬件
  • CPU
    主板
    音箱
  • 硬盘
    显卡
    键鼠
  • 内存光驱
    显示器
    机箱电源

  • 数码相机DC
    数码相机
  • MP3播放器
    MP3/MP4
  • 数码摄像机DV
    摄像机
  • 电脑外设
    外设
  • 网络
    网络
  • 服务器
    服务器
  • 数字家庭
    数字家庭
  • 群乐
    群乐
  • 产品报价 行情 商家 新闻 评测 | 软件 设计 网页 开发 安全 论坛 E时代 游戏 图片 壁纸 下载 网摘 博客 索尼专区 Vista 科技奥运
    天极网
    Linking SQL Server 2000 to Oracle 8i
    作者: Christine Polewarczyk
    出处:
    责任编辑:
    [ 2004-06-17 19:21 ]


    The following were the steps we took to create a Linked Server from SQL Server 2000 to Oracle 8i.

    1. Install the Oracle client on the SQL Server host machine.
    2. Do this registry edit (for Microsoft Windows 2000):
       [HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSDTCMTxOCI]
       "OracleXaLib"="oraclient8.dll" 
       "OracleSqlLib"="orasql8.dll"  
       "OracleOciLib"="oci.dll"
      
    3. Create an ODBC Data Source to Oracle:
       System DSN -> Add
       Oracle ODBC driver
       Data Source Name = (Oracle Connect String - ex. ORACLE_PROD)
       Description = (Oracle Connect String - ex. ORACLE_PROD)
       Service Name = (Oracle Connect String - ex. ORACLE_PROD)
       UserID = sqldba (Oracle User ID)
      
    4. Reboot
    5. Set up the Linked Server:
       Provider Name = Microsoft OLE DB Provider for Oracle
       Product Name = (leave blank)
       Data Source = (DSN Name from step 3)
       Provider string = MSDAORA
      
    6. Test:
       Select * from ORACLE_PROD..(Database Schema).(Table Name)
      

    Reader Feedback

    Vlada B. writes: This is a great tip! I'll be sure to pass this along.

    Mary C. writes: The accuracy of the tip is right on target. However, for an enterprise setup, this is giving a loaded gun to folks. Our experience with Oracle clients on our already overloaded SQL Server database servers has resulted in poorer performance and in some cases, eventual blue screens. Microsoft has lots of nice features for jobs on development boxes but it wrecks havoc on our larger, shared enterprise servers. Even they say that a database server should remain only a database server (no extraneous files, clients, etc) if you want to get the best throughput and minimize problems.

    笔名:
    请您注意:

     遵守国家有关法律、法规,尊重网上道德,承担一切因您的行为而直接或间接引起的法律责任。

     天极网拥有管理笔名和留言的一切权利。
    相关内容