XML节点位置不能是变量解决方法

 

@test是变量

select @xml.exist(N'//MasterxRow[position()=sql:variable("@test")]')

原文地址:https://www.cnblogs.com/bulege/p/2212665.html