Article ID: 235213 - Last Review: March 10, 2004 - Revision: 1.1 BUG: Four-part Name Linked Server Queries Fail Against DB2 for OS/390This article was previously published under Q235213 SYMPTOMS
When you run a four-part name query such as the following
SELECT * FROM LinkedServer name.Catalog.Schema name.Table name
using the Microsoft OLE DB Provider for DB2 from a linked server to DB2 on OS/390, the following error might be reported by the SQL Server:
Server: Msg 7314, Level 16, State 1, Line 1 OLE DB provider 'DB2OLEDB' does not contain table 'Schema name.Table name'. RESOLUTIONTo resolve this problem, obtain the latest service pack for SNA Server version 4.0. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
215838
(http://support.microsoft.com/kb/215838/EN-US/
)
How to Obtain the Latest SNA Server Version 4.0 Service Pack
WORKAROUND
Use pass-through queries with OPENQUERY or OPENROWSET. For examples of linked server queries to DB2 using OPENQUERY or OPENROWSET, please refer to the following article in the Microsoft Knowledge Base:
222937
(http://support.microsoft.com/kb/222937/EN-US/
)
Creating a Linked Server to DB2 using Microsoft OLE DB Provider for DB2
STATUSMicrosoft has confirmed that this is a problem in Microsoft SNA Server version 4.0 Service Pack 2. This problem was first corrected in SNA Server version 4.0 Service Pack 3.
| Article Translations
|
Back to the top
