Re: using a xpath variable in a replace xquery, getting an error



Found a solution:

http://blogs.msdn.com/mrorke/

Short answer is that you build a query (@query) then exec it
(Exec(@query))


On Nov 6, 9:34 am, "JCollum" <jcol...@xxxxxxxxx> wrote:
Hi sorry, but I'm gonna bump this one. Does anyone have any suggestions
on how to get around this problem?

-- Justin

On Nov 3, 4:39 pm, "JCollum" <jcol...@xxxxxxxxx> wrote:



It gets more confusing. This statement:

SELECT @xml.exist('sql:variable("@xpath")')

works. Returns a 1. Grr.- Hide quoted text -- Show quoted text -

.


Loading