Questions tagged [distributed-queries]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
247 views

What configurations do I need to fix the “unable to begin a distributed transaction” error when trying to run a remote procedure?

This is the error message I'm receiving: Msg 7391, Level 16, State 2, Procedure spStoredProc, Line 62 [Batch Start Line 1] The operation could not be performed because OLE DB provider "SQLNCLI11" ...
2
votes
2answers
294 views

Can the FORCESEEK query hint be used on tables being queried against on a linked server? (I.e. as part of a distributed query)

I have a query that uses the FORCESEEK hint and runs fine on the server where the database I'm querying lives. If I try to run the same exact query remotely from a different server (targeting the ...
8
votes
1answer
2k views

Where do Linked Server Queries get executed?

I have two instances ServerA and ServerB, and I have created a linked server in ServerA for ServerB as Linksrv_B. I can execute a query on ServerA using the four part naming convention: SELECT * ...
1
vote
0answers
95 views

What's an example of a Distributed Database Query?

Since I may not come across or get a chance to use a distributed database system. I would like to understand an example of a Distributed Database Query. I know that in a distributed system, you have ...
0
votes
0answers
139 views

Use of remote indexes in distributed queries

I have a MySQL server linked in SQL Server and I can query it like this: select * from [MYSQL]...[table] where [column] = 1 this works, but if the table contains many rows performance drops, even if ...
2
votes
1answer
969 views

how to temporarily change the sql server settings in order to do a task and when finished revert back?

when I run the script below all at once I get this error message: Msg 15281, Level 16, State 1, Line 58 SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc ...