Quantcast
Channel: Questions in topic: "string-splitting"
Viewing all articles
Browse latest Browse all 18

Picking strings out of XML-like text

$
0
0
I have some XML-like data that is stored as nvarchar(max). A cell from the table in which it is stored, looks a bit like this:1235fcd13330-4983-4402-b27c-ab01e1a2438e234590873135-15a7-40e9-bf0d-7152300b66e5 I want to be able to split the string up and only pick bits of the data out (and dump the results into a table) so that it looks (for example) like this. Item_name Item_type Fred 5 Boo 5 I should probably add that some of the elements I want to split out could easily be over 8000 characters in length in their "post-split" state.

Viewing all articles
Browse latest Browse all 18

Trending Articles