Article ID: 287093 - Last Review: March 26, 2004 - Revision: 2.4 INFO: DB2OLEDB Supports UPDATE/DELETE from SQL Linked ServerThis article was previously published under Q287093 SUMMARY
The Microsoft OLE DB Provider for DB2 (DB2OLEDB) that ships with Host Integration Server 2000 or SNA Server 4.0 Service Pack 4 supports SELECT, INSERT, UPDATE, and DELETE statements from SQL Server Linked Server. All earlier versions of DB2OLEDB support only SELECT and INSERT statements when used with SQL Server Linked Server. MORE INFORMATION
For an UPDATE or DELETE, the minimum requirements are as follows:
INSERT, UPDATE, and DELETE statements when using four-part linked server queries can be supported using the CCE. However, some statements may fail or may update incorrect columns when there is no unique key column on the target tables, or when there are not enough unique values for the CCE to accurately determine which columns to update. In these cases, unpredictable results may occur, or DQP may fail to perform the update. SELECT, INSERT, UPDATE and DELETE are also supported with passthrough query using OpenQuery syntax. REFERENCESFor additional information on DB2OLEDB and Linked Server, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
218590
(http://support.microsoft.com/kb/218590/EN-US/
)
INF: Configuring Data Sources for the Microsoft OLE DB Provider
222937
(http://support.microsoft.com/kb/222937/EN-US/
)
INF: Creating a Linked Server to DB2 using Microsoft OLE DB Provider for DB2
235213
(http://support.microsoft.com/kb/235213/EN-US/
)
BUG: Four-part Name Linked Server Queries Fail Against DB2 for OS/390
216810
(http://support.microsoft.com/kb/216810/EN-US/
)
Creating Packages for Use with ODBC Driver for DB2 and OLE DB Provider for DB2
269626
(http://support.microsoft.com/kb/269626/EN-US/
)
INFO: Permissions Needed to Create Packages Using DB2OLEDB on DB2 and DB2/400
274160
(http://support.microsoft.com/kb/274160/EN-US/
)
FIX: Four-Part Inserts to DB2 Through LinkedServer Fail
277871
(http://support.microsoft.com/kb/277871/EN-US/
)
Linked Server SELECT's to DB2/400 Tables with a DBCS Character Field Fail
| Article Translations
|
Back to the top
