question

wmckean avatar image
wmckean asked

SQL XML select between node values

Heres my XML, I'm looking to see what I can come up with to get just the data between

<string>Risk:</string> and <string>Flags:</string>. Is this possible?

<string>Risk:</string>
<string>risk 1</string>
<string>risk 2</string>
<string>risk 3</string>
<string>risk 4</string>
<string>Flags:</string>
<string>Flag 1</string>
<string>Flag 2</string>
<string>Flag 3</string>
<string>Flag 4</string>
<string>Flag 5</string>
<string>Flag 6</string>
<string>Name:</string>
<string>Name 1</string>

sql-server-2012xml
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.