Getting Started with Adobe After Effects - Part 6: Motion Blur
This module helps you to share, discuss and learn interview questions and answers of different technologies

"Xml data type is not supported in distributed queries" - How to resolve?

Oct 31 2011 8:00AM by Paresh Prajapati   

Question

"Xml data type is not supported in distributed queries" - How to resolve?

Answer

While you performing fetch operation using remote objects with linked server when it having XML column, it raise above such error "Xml data type is not supported in distributed queries"

SELECT * FROM Server1.Database1.dbo.Table1 WHERE Column1 NOT IN (SELECT Column1 FROM Server2.Database2.dbo.Table1) GO

But you can perform fetch for such issue,

SELECT * FROM Server1.Database1.dbo.Table1 WHERE Column1 NOT IN ( SELECT * FROM OPENQUERY(Server2,' SELECT Column1 FROM Database2.dbo.Table1' ) linked )

Read More..   [333 clicks]

Published under: SQL Server Interview Questions ·  ·  ·  · 


Paresh Prajapati
6 · 22% · 7099
0
Liked
 
0
Asked



Submit

Your Comment


Sign Up or Login to post a comment.

""Xml data type is not supported in distributed queries" - How to resolve?" rated 5 out of 5 by 2 readers
"Xml data type is not supported in distributed queries" - How to resolve? , 5.0 out of 5 based on 2 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]