Posted: Tue Jun 10, 2014 5:15 am Post subject: Re: Unsupported type Error when selecting xml field from tab
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
new2MB wrote:
please suggest how to select from a table with a column defined as xml.
when using a normal select getting Unsupported type error.
but works with passthru CAST (CAST(xmlData AS varchar(max)) AS text)
i want to avoid using passthru due to its reduced performance.
please suggest an alternative for this
Have you thought about calling a procedure on the SQL Server and doing the data type transformation within the procedure? _________________ MQ & Broker admin
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum