Free Newsletters:
DatabaseJournal  
DBANews
Database Journal
Search Database Journal:
 
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum DBA Videos
internet.com

» Database Journal Home
» DBA Videos
» Database Articles
» Database Tutorials
MS SQL
Oracle
MS Access
MySQL
DB2
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» DBA Jobs
» Sitemap

News Via RSS Feed



follow us on Twitter

Marketplace Partners
Be a Marketplace Partner

internet.commerce
Be a Commerce Partner


















Facebook Seen as Biggest Threat to IT Security

Google Teases With Chrome-Powered Tablet

Palm Leads Rally Ahead of Cisco's Results

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Database Journal | DBA Support | SQLCourse | SQLCourse2







Business Intelligence Developer (IL)
Next Step Systems
US-IL-Elk Grove Village

Justtechjobs.com Post A Job | Post A Resume

Featured Database Articles

MS SQL

February 28, 2003

Linking SQL Server to Heterogeneous Systems

MAK (Muthusamy Anantha Kumar)

Linked server to Sybase 12 ASE database :

Install and Configure Sybase Client

The first step in this process is to install Sybase 12 ASE drivers on the SQL Server box. Then create an ODBC system DSN to Sybase. Get the IP address, database name, userID, password and port number used in Sybase server, from the Sybase database admin. The Sybase client reads information about Sybase from a configuration file under \Sybase\ini\sql.ini file. (Example appears below). Change or create the following information in the sql.ini file.

If windows 2000 Professional:

[MySystem]
master=TCP,172.277.78.118,2055
query=TCP,172.277.78.118,2055

If windows 2000 server use this (remove comma between port and ip address):

[MySystem]
master=TCP,172.277.78.118 2055
query=TCP,172.277.78.118 2055

Create the ODBC system DSN for Sybase server on the SQL Server Box.

Create Linked Server for Sybase

Open the Enterprise manager, and right click on Linked server under the Security Folder. Create a new linked server. Select the OLE DB Provider for ODBC Drivers. Give the same system ODBC name that you created for Sybase in the textbox provided for Data Source. Provide a userid and password in the provider string and security tab.

Test the connection by running the following SQL command in query analyzer.

Select * from openquery(SybaseServer, "Select column1 from table1")


Go to page: Prev  1  2  3  Next  

Tools:
Add databasejournal.com to your favorites
Add databasejournal.com to your browser search box
IE 7 | Firefox 2.0 | Firefox 1.5.x
Receive news via our XML/RSS feed

MS SQL Archives








Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
"Connect to Database Engine" prompt joshk 0 February 9th, 11:32 AM
alter a table from a bk file which is the publication, msg 4929 DLu 4 February 5th, 04:35 PM
Service broker bobbo 0 February 3rd, 12:42 PM
Job properties yogesphu 2 January 28th, 12:47 AM









The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers