Viewing 15 posts - 1,606 through 1,620 (of 1,957 total)
Any chance you could post the sqlplan?
January 19, 2011 at 5:11 pm
Solution:
Well I think I finally found the problem....ready....datatype conversion.
The remote column that I was selecting on "order_no" had a type of CHAR(10).
The query was SELECT .... FROM ... WHERE order_no...
January 19, 2011 at 5:01 pm
Just a quick update -
If I do this
SELECT *
FROM vw_testdet
where order_no like '%'
and order_no = '52021'
the WHERE clause all gets remoted - both the like and the equals....go figure!
Just...
January 19, 2011 at 12:58 pm
Now i am even more confused!
If I create a view on the remote server and force collation to match the local server, then the simple one table query works in...
January 18, 2011 at 5:17 pm
I may be on to something here -
I have created a view on the remote server with all the *char columns converted to the collation of the local server Latin1_General_CI_AS...
January 18, 2011 at 4:56 pm
I have now tested a straight select from one of the remote tables and get the same problem when I put that inside a view...
January 18, 2011 at 4:38 pm
Craig Farrell (1/18/2011)
January 18, 2011 at 4:37 pm
At last - used IE and i can upload the plans!
January 18, 2011 at 4:09 pm
Hi Gail, thanks for your time.
Security is currently (for testing purposes) set to log in remotely as "sa" - I have also tried using the login that owns the tables...
January 18, 2011 at 4:04 pm
Craig Farrell (1/18/2011)
I can't get to skydrive, cause it's blocked...
January 18, 2011 at 3:39 pm
Craig, if I put the WHERE clause inside the VIEW then
SELECT * from vw_test
Works just fine.
Do you think the collation difference could be the cause and do you have...
January 18, 2011 at 3:23 pm
Thanks Craig - any offer of advice on this one is welcome!
That is almost the exact query - although it is a simplified version of my real query - all...
January 18, 2011 at 3:17 pm
Hi, I don't have your latest data/query to work with, but expanding on Lutz' excellent code, you could try this approach
DECLARE @ParentIdReference TABLE (Parent_ID INT,InternalID VARCHAR(10))
;WITH XMLNAMESPACES(
DEFAULT 'http://ALD.riban.com'
)
INSERT
INTO Parent
OUTPUT...
January 18, 2011 at 3:11 pm
I have a question or two...
1) How many rows does that UPDATE query affect? Is it updating 1 row or more?
2) Is there some reason why the application that is...
January 18, 2011 at 10:51 am
Heh - no need for my apology for playing then - Jeff - you couldn't resist either!
January 17, 2011 at 8:52 pm
Viewing 15 posts - 1,606 through 1,620 (of 1,957 total)