Posts by Raymann • 33 points
2 posts
-
1
votes1
answer456
viewsA: Extract xml tag from a varchar(max) column
I got the answer, it worked like this: select SUBSTRING (@coluna,CHARINDEX('<MT_USADA>', @coluna)+LEN('<MT_USADA>'),(CHARINDEX('</MT_USADA>',…
-
2
votes1
answer456
viewsQ: Extract xml tag from a varchar(max) column
Hello, I have a series of xml records in a varchar(max) column and need to extract the tag <MT_USADA>16 MB</MT_USADA>, for example: <?xml version="1.0" encoding="utf-8"?>…