Re: Updating SQL Server Linked Server
From: david epsom dot com dot au (david_at_epsomdotcomdotau)
Date: 09/09/04
- Next message: david epsom dot com dot au: "Re: Map Data Fields for Importing?"
- Previous message: david epsom dot com dot au: "Re: Import data type bug and SP1 bug- Is it working for you?"
- In reply to: Supi: "Updating SQL Server Linked Server"
- Next in thread: Supi: "Re: Updating SQL Server Linked Server"
- Reply: Supi: "Re: Updating SQL Server Linked Server"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 12:59:17 +1000
1) When you open a table in table view, or run a query from a macro
or from the database window, you should normally be in an implicit
transaction.
2) Other than that, the rules do seem to have shifted around a bit.
Are you using FailOnError? ADO or DAO?
3) You can use pass through queries instead of linked tables.
(david)
"Supi" <Supi@discussions.microsoft.com> wrote in message
news:9A408E8E-8837-45AC-A922-C3344A5798F1@microsoft.com...
> I desperately need some help here....
>
> I initially created a blank front-end Access .mdb database from which I am
> using the linked tables feature (which uses the SQL Server ODBC driver) to
> connect to an SQL Server database. However, I am actually accessing
another
> back-end database via the SQL Server Linked Server mechanism (which uses
OLE
> DB). Thus the LINKED TABLE in Access refers to a VIEW in SQL Server which
in
> turn refers to the remote table in SQL Linked Server. But, when I try to
> update the linked table, Access does not allow me and I get the following
> error message:
>
> The requested operation could not be performed because the OLE DB provider
> 'XXXXXXXXX" does not support the required transaction interface.
>
> The SQL Profiler trace shows that Access is setting the IMPLICIT
> TRANSACTIONS setting to ON even though SQL Books Online says that the SQL
> Server ODBC driver automatically sets IMPLICIT_TRANSACTIONS to OFF when
> connecting. The starting of an explicit SQL transaction causes SQL Server
to
> escalate the local transaction into a distributed transaction which is not
> supported by all of our databases. Is there some Access/ODBC setting that
can
> be made to avoid the IMPLICIT_TRANSACTION? In other words, can Access be
made
> to work in automatic transactions mode?
>
- Next message: david epsom dot com dot au: "Re: Map Data Fields for Importing?"
- Previous message: david epsom dot com dot au: "Re: Import data type bug and SP1 bug- Is it working for you?"
- In reply to: Supi: "Updating SQL Server Linked Server"
- Next in thread: Supi: "Re: Updating SQL Server Linked Server"
- Reply: Supi: "Re: Updating SQL Server Linked Server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|