Oracle uses HS ODBC connection mssql2008

Source: Internet
Author: User
Tags odbc connection

1. Create ODBC

2. Copy the INITDG4ODBC under product\11.2.0\dbhome_1\hs\admin\ and change the name to Initcrmsql (the name of the ODBC created by init+)

Hs_fds_connect_info =crmsql #odbc名称HS_FDS_TRACE_LEVEL = 0hs_fds_recovery_account=sa  #要连接的数据库名称HS_FDS_RECOVERY_ pwd=123456  #要连接的数据密码

3. Configure Product\11.2.0\dbhome_1\network\admin folder under Listener, add

Sid_list_listener =  (sid_list = (    Sid_desc =      (sid_name = Clrextproc)      (oracle_home = E:\app\ Administrator\product\11.2.0\dbhome_1)      (program = extproc)      (Envs = "Extproc_dlls=only:e:\app\administrator \product\11.2.0\dbhome_1\bin\oraclr11.dll ")    )    # Increase Start     (Sid_desc =      (sid_name = crmsql)      (oracle_ HOME = E:\app\Administrator\product\11.2.0\dbhome_1)      (program =dg4odbc)     # Add end  )

  

Add in TNSNames file

Crmsql= (description=    (address= (protocol=tcp) (host= 192.168.2.4) (port=1521) (connect_data=) (Sid=crmsql    ))    (Hs=ok)  )

3. Restart the Oracle listener.

4. Open SQL Plus to enter a continuous Oracle username and account.

Create public database link Crmsql  connect to SA indentified by "123456"  using ' crmsql ';

5. Verification

  

Oracle uses HS ODBC connection mssql2008

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.