• <center id="iy06s"><td id="iy06s"></td></center>
    <nav id="iy06s"><table id="iy06s"></table></nav>
  • <dd id="iy06s"></dd>
    <optgroup id="iy06s"><table id="iy06s"></table></optgroup>
    <center id="iy06s"></center>
  • <dd id="iy06s"></dd><xmp id="iy06s"><center id="iy06s"></center>
    <optgroup id="iy06s"></optgroup>
  • <optgroup id="iy06s"><table id="iy06s"></table></optgroup>
    <nav id="iy06s"><table id="iy06s"></table></nav><center id="iy06s"><wbr id="iy06s"></wbr></center>
  • <center id="iy06s"></center>
    <xmp id="iy06s"><center id="iy06s"></center>

    用ODBC 連接 Oracle 11g

    ODBC連接Oracle數據庫,并且將SqlServer 2008R2表數據導入到Oracle 11g



    數據庫學(xué)習 【2024-02-03 15:02】


    ODBC連接Oracle數據庫,并將SqlServer 2008R2表數據導入到Oracle 11g


    測試環(huán)境(WinServer2008R2+SQLServer 2008R2+Oracle 11g):

    1、先安裝好WinServer 2008R2+SQLServer 2008R2+Oracle 11g

    407d0244eff55053320beda24b9063b8.png

    2、到Oracle官網(wǎng)下載:instantclient-basic-windows.x64-11.2.0.4.0.zip,instantclient-odbc-windows.x64-11.2.0.4.0.zip

    instantclient-basic-windows.x64-11.2.0.4.0.zip:oracle官網(wǎng)下載

    instantclient-odbc-windows.x64-11.2.0.4.0.zip:oracle官網(wǎng)下載

    3、將這兩個(gè)zip文件解壓到同一目錄:C:\Oracle11gTools\OracleWindowsClient

    ff7e59a52c12d7209527ab8f0eeb7fad.png

    4、打開(kāi)Windows環(huán)境變量設置(設定環(huán)境變量后,需重啟電腦)

          a、將路徑【C:\Oracle11gTools\OracleWindowsClient】放在path變量的最前面。

          b、增加環(huán)境變量:TNS_ADMIN=    C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN

          c、增加環(huán)境變量:ORACLE_HOME=C:\app\Administrator\product\11.2.0\dbhome_1

    設置path變量的搜索路徑以后,選擇.net framework data provider for odbc 驅動(dòng)后,會(huì )自動(dòng)搜索該路徑下Oracle ODBC驅動(dòng)程序。

    5、創(chuàng )建一個(gè)新的Oracle 用戶(hù)

    0ead67c3be75b2eb5cdc8cea24060d80.png

    6、打開(kāi)ODBC數據源設定。

    54584385b992761f6103459ab09730aa.png

    106103da01d2a6caf6b962e256892e23.png

    ace4d589e66d31ba971ae96d23b4f3dc.png

    b88248f9fc0dd00b41a003c3d91cf325.png

    f4133adb828984b7604a4729d13e86fd.png

    7、Oracle ODBC連接成功。

    98714cc81b976f58a6f2ff0c72d7f191.png

    8、打開(kāi)ssms.exe的【SQL Server導入和導出(64位)】功能,將SqlServer的表數據導入到Oracel 11g

    385b4330ca54a3f7c17adfefef1802dd.png

    這一步是關(guān)鍵:ConnectionString=【Dsn=orcl_pos;uid=pos;pwd=****】

    a527ccce7102ccc10b317e8d337e534e.png

    74ed18dcacc03f90a4102d3af1bf377b.png

    End.







    友情鏈接:
    SQL數據庫修復專(zhuān)家
    SQLDBRepair
    • 關(guān)注微博
      聯(lián)系QQ
    • 二維碼
    • 掃一掃加關(guān)注

    ——信陽(yáng)市速全網(wǎng)絡(luò )科技有限公司——

    版權所有:信陽(yáng)市速全網(wǎng)絡(luò )科技有限公司

    豫ICP備19030104號

    不卡一不卡二不卡三
  • <center id="iy06s"><td id="iy06s"></td></center>
    <nav id="iy06s"><table id="iy06s"></table></nav>
  • <dd id="iy06s"></dd>
    <optgroup id="iy06s"><table id="iy06s"></table></optgroup>
    <center id="iy06s"></center>
  • <dd id="iy06s"></dd><xmp id="iy06s"><center id="iy06s"></center>
    <optgroup id="iy06s"></optgroup>
  • <optgroup id="iy06s"><table id="iy06s"></table></optgroup>
    <nav id="iy06s"><table id="iy06s"></table></nav><center id="iy06s"><wbr id="iy06s"></wbr></center>
  • <center id="iy06s"></center>
    <xmp id="iy06s"><center id="iy06s"></center>