Article ID: 835677 - Last Review: November 15, 2007 - Revision: 3.2 FIX: You may receive the "Cannot insert or update columns from multiple tables" error message when you try to insert or to update data in a multi-table view by using a server-side cursor
On This PageSYMPTOMSWhen you use a server-side cursor from a client application,
and you try to insert or to update data in an updatable SQL Server view that is
based on multiple SQL Server tables, you notice that the INSTEAD OF trigger
that is defined on the view does not fire. Additionally, you notice that the
data is not updated in the view, and you may receive an error message that is
similar to the following: Run-time error '-2147467259
(80004005)': Cannot insert or update columns from multiple tables. RESOLUTIONService pack informationTo resolve this problem, obtain the latest service pack for Microsoft Data Access Components 2.8. For more information, click the following article number to view the article in the Microsoft Knowledge Base:884103
(http://support.microsoft.com/kb/884103/
)
How to obtain the latest MDAC 2.8 service pack
Hotfix informationA supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix. Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: http://support.microsoft.com/contactus/?ws=support
(http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.File informationThe English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.Date Time Version Size File name ------------------------------------------------------------------ 22-Jan-2004 08:36 2000.90.736.0 147,456 Dahotfix.exe 28-Jan-2004 09:00 4,889 Dahotfix.ini 28-Jan-2004 09:00 647 Kb835677_dlvl.inf 28-Jan-2004 09:00 641 Kb835677_win2k.inf 28-Jan-2004 09:00 733 Kb835677_win2kx.inf 28-Jan-2004 09:00 341 Kb835677_winme.inf 28-Jan-2004 09:00 855 Kb835677_winmex.inf 28-Jan-2004 09:00 603 Kb835677_winxp.inf 28-Jan-2004 09:00 907 Kb835677_winxpx.inf 27-Jan-2004 04:33 2.80.1029.0 147,456 Msdart.dll 27-Jan-2004 04:34 2000.85.1029.0 24,576 Odbcbcp.dll 27-Jan-2004 04:33 2.80.1029.0 442,368 Oledb32.dll 27-Jan-2004 04:33 2000.85.1029.0 503,808 Sqloledb.dll 27-Jan-2004 04:33 2000.85.1029.0 401,408 Sqlsrv32.dll 839801
(http://support.microsoft.com/kb/839801/
)
FIX: Hotfixes are available for MDAC 2.8
WORKAROUNDTo work around this problem, use the SQL Native Client (SNAC) provider to connect to your instance of SQL Server. STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are
listed in the "Applies to" section.
MORE INFORMATIONSteps to reproduce the problem
REFERENCES
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
304096
(http://support.microsoft.com/kb/304096/
)
Trigger does not fire on view when updated through ADO
| Article Translations
|
Back to the top
