Free Newsletters:
DatabaseDaily  
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


















Mariposa Bot Shipped With Vodafone Smartphone

IT Job Market Heating Up: Report

Bing Makes Strides But Momentum Stalls

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







Data Warehouse Architect (IL)
Next Step Systems
US-IL-Chicago

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
Help with Getting Started jozepeter 0 March 14th, 02:01 PM
sql maintenance plan fails database missing tbrownch 5 March 12th, 08:48 AM
Inner and outer select mussab 2 March 10th, 04:16 AM
SQL server 2008 in windows 7 pro problem theresatan 2 March 6th, 08:35 PM









The Network for Technology Professionals

Search:

About Internet.com

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