We help IT Professionals succeed at work.

DB2OLEDB provider for MSSQL 2008 standard edition

Hagita
Hagita asked
on
Medium Priority
3,264 Views
Last Modified: 2012-03-30
We currently run MSSQL server 2008 R2 in standard edition. its a small-medium firm and we don’t need the enterprise edition.
I now ran into a problem: I need to link a as400/DB2 to MSSQL in order to pull out data reports.
After downloading the Feature Pack for SQL Server 2008 I understood the so called "free" Microsoft DB2OLEDB provider needs the developer or enterprise edition of MSSQL to run on. Does anybody have a cheaper solution then that? Im trying to aim a non microsoft  provider to that purpose.
Comment
Watch Question

Kent OlsenData Warehouse / Database Architect
CERTIFIED EXPERT

Commented:
Hi Hagita,

I really don't know that the Enterprise Edition is required, but I'll be glad to help and see if we can get the Standard Edition to work.  :)

First, some questions.  

Are you running a 32 or 64 bit version of SQL Server?
Is the underlying server a 32 o 64 bit O/S?
What O/S version is the AS400 running?
What errors are you seeing when you try to connect?


Kent

Author

Commented:
Hi Kent, I will explain myself clearer. I am trying to install DB2OLEDB provider and apparently I need the MSSQL enterprise edition in order to do that. the installation proccess does not succeed.
Kent OlsenData Warehouse / Database Architect
CERTIFIED EXPERT

Commented:
Hi Hagita,

A linked server definition is pretty simple, (at least on a high level).  It requires an OLE DB provider, in this case DB2OELDB, that is simply a DLL with the necessary items to create and maintain the connection.  If the installation fails, you could always drop the DLL into the system library and register it by hand.  Or you could use a generic ODBC driver.  Not as efficient, but that may not be an issue.

I found an article where someone did connect SQL Server Standard Edition to an AS/400.  They've even provided a step-by-step guide.

 http://social.msdn.microsoft.com/Forums/eu/transactsql/thread/2fe14162-ae37-4932-841c-1edab0495ddd

Give that a look and see if that will work for you.


Kent

Author

Commented:
Thank you Kent! I will try and let you know how it went.
Commented:
I did not use the ODBC driver explanation as I prefer using OLEDB. But I found this link with the perfect solution please use it !
http://weblogs.sqlteam.com/robv/archive/2010/08/19/use-microsoft-db2-oledb-provider-on-non-enterprise-sql-server.aspx

Author

Commented:
i added the solution i found