Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DB2 Commit Statement

12 views
Skip to first unread message

Steve

unread,
Feb 19, 2003, 12:33:27 PM2/19/03
to
I am having trouble performing a COMMIT to my linked DB2
server. I use:

Select * from openquery(DB2, 'COMMIT') and i get this:

The OLE DB indicates that the object "MSDASQL" has no
columns.

Unable to Process object since the object has no
columnsProviderName


Any help would be appreciated.

Axel Richter

unread,
Feb 20, 2003, 4:05:36 AM2/20/03
to
Steve schrieb:

Hi Steve,

you can ignore the error, since the "COMMIT" runs into DB2.

You may also switch your driver to AutoCommit-Mode, so you may avoid the
explicit commit (depends on your driver and the things you have to do).

Another issue is the problem, that SQL-Server creates a new connection
for the driver and sends the commit over this newly allocated
connection. So it may commit a transaction, which is not the one you
want to commit.

Axel.

0 new messages