Как выполнить xmlnamespace в storedprocedure?
Hi all, i have tried to execute xmlnamespace in the below storedprocedure, but its saying that , Incorrect syntax near 'XMLNAMESPACES'. My code is : INSERT #BrandData WITH XMLNAMESPACES('http://mch.com/IF002/SD/mch/I_mch' as ns0) SELECT Data.value('(nickname/text())[1]','VARCHAR(100)') AS nickname, Data.value('(username/text())[1]','VARCHAR(100)') AS username, Data.value('(IsActive/text())[1]','VARCHAR(4)') AS IsActive FROM @xmldoc.nodes('//ns0:mch_In/Data')AS BrandData (Data) please drop me a solution for this
Что я уже пробовал:
как выполнить xmlnamespace в storedprocedure?