Solved

How do I set up a linked server to Informix using Transoft ODBC driver?

Posted on 2009-06-30
3
1,249 Views
Last Modified: 2013-12-24
Using SQL 2005.  Have a working System DSN set up using Transoft ODBC driver to an Informix database.  This database is running MISYS (medical practice management software).

I need to set up a linked server from SQL 2005 to this database.  I can't find any documentation on how to do this.  When I use MISYS Query (reporting tool), it uses two levels of authentication to open a catalog.  I have the full path to the catalog, and the user/password for the catalog and the user/pwd for the database.  How do I put these together in an sp_addlinkedserver command to make a working linked server?
0
Comment
Question by:Brett_Gerlach
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 43

Accepted Solution

by:
Eugene Z earned 250 total points
ID: 24751180
if you ave a working System DSN set up using Transoft ODBC driver to an Informix database on sql server box:

use ssms or code

use Microsoft OLE DB Provider for ODBC -- ODBC data source
sp_addlinkedserve
http://msdn.microsoft.com/en-us/library/ms190479.aspx

sp_addlinkedserver @server='[your_linkedserver_name]',
@srvproduct='Driver',@provider='MSDASQL', @datasrc='[name of your system DSN]';

set security
sp_addlinkedsrvlogin

http://msdn.microsoft.com/en-us/library/ms189811.aspx
0
 
LVL 43

Expert Comment

by:Eugene Z
ID: 24751188
also check
How to connect SQL Server 7.0 to Informix                                           

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=243&lngWId=5
0
 

Author Closing Comment

by:Brett_Gerlach
ID: 31598610
That worked.  I set the security to logon using the database (not catalog) user and password for Misys Query.  I didn't need the catalog user/password anywhere.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question