Implementation of Sybase to Oracle connection server

Source: Internet
Author: User
Tags dsn connect odbc sybase table name
oracle| Server
Implementation of Sybase to Oracle connection server



Author: ccbzzp



The interconnection of different database platform is commonly called the heterogeneous service of database, now each large database can realize such heterogeneous interconnection, but the specific implementation technology of each manufacturer is not the same, such as: in Sybase inside called Connect OR CONNECTION profile, The interconnection with other databases is achieved through ODBC.



The test environment for this article is:

Operating system: WINDOWS2000 SERVER (Traditional system)

Install the database: SYBASE8.0 SERVER (English) and ORACLE92 client (English version)





Specific steps to achieve:
1. Require the installation of Oracle client software and SYBASE8.0 Server Software on the PC.
2. First Oracle to establish service NAME

Such as:

# TNSNAMES. ORA Network Configuration File:d:\oracle\ora92\network\admin\tnsnames.ora

# Generated by Oracle configuration tools.

......

test=

(DESCRIPTION =

(Address_list =

(address = (PROTOCOL = TCP) (HOST =10.100.1.101) (PORT = 1521))

)

(Connect_data =

(SID = test)

)

)

......

3. Configure Windows ODBC Data source:
Start Menu-"assembly-" System management Tool-"data source (ODBC)-" Enter configuration User DSN or System DSN can: Add-"Select Oracle ora92home-" Custom data source name (optional: oracletest)-"TNS SERVICE name Name (required!) As the user ID of the test-at above to enter Oracle's database-"OK."

Configure and test ODBC complete!


4. Configure the connection server in SYBASE8.0 server:
Start Sybase

Select the connection Profiles option in the tools in the menu

Select New button appears new profile, enter your connection name at name, select Copy profile, in connection profile Select Adaptive SERVER ANYWHERE8.0 sample after OK, appear E DIT CONNECTION Profile screen,

User: Enter the username for Oracle's database

PASSWORD: The password of the user who entered Oracle's database

Select the ODBC DATA SOURCE name below to select the Oracle ODBC that is completed above

Oracletest, select OK to complete!

When accessing a table, use the format: [Connect server name]. [Oracle users]. [Table name]. More detailed and specific use here no longer repeat.

I'll add it later!






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.