Re: Linked server problems
From: Allan Mitchell (allan_at_no-spam.sqldts.com)
Date: 11/09/03
- Previous message: David Bolt: "SSL Error on server"
- In reply to: Bob Frasca: "Linked server problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sun, 9 Nov 2003 22:55:23 -0000
How are you posting the query? Are you using 4 part naming? Have you tried
OPENQUERY?
-- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "Bob Frasca" <bfrasca@netspoke.com> wrote in message news:ersLPfUpDHA.1740@TK2MSFTNGP12.phx.gbl... > 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. > > >
- Previous message: David Bolt: "SSL Error on server"
- In reply to: Bob Frasca: "Linked server problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|