Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2009-06-30
3
Medium Priority
?
1,257 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 1000 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

688 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