Linked server problems
From: Bob Frasca (bfrasca_at_netspoke.com)
Date: 11/07/03
- Next message: Brenda: "SQL login setup and windows 2000 domain local group"
- Previous message: Ryan Waight: "Re: DSN Error Connecting to Sql Server, Trusted Connection Error"
- Next in thread: Allan Mitchell: "Re: Linked server problems"
- Reply: Allan Mitchell: "Re: Linked server problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 7 Nov 2003 10:57:18 -0500
I posted this on the "programming" group but no one has responded. Thought
I'd try here...
I have heard rumors that certain queries to linked servers will not utilize
indexes on the linked server. In my case, I am trying to update records in
a table on a linked server and it will not use the index despite the fact
that I am referring to the primary key. When I take the same query and run
it on the linked server directly it works fine.
Does anyone know if this is documented anywhere? My workaround is to move
the query to a stored procedure on the linked server and then call the
stored procedure on the linked server rather than a straight UPDATE
statement. This works but it would be nice to know WHEN I'm going to have
to use this type of work around.
- Next message: Brenda: "SQL login setup and windows 2000 domain local group"
- Previous message: Ryan Waight: "Re: DSN Error Connecting to Sql Server, Trusted Connection Error"
- Next in thread: Allan Mitchell: "Re: Linked server problems"
- Reply: Allan Mitchell: "Re: Linked server problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|