XQuery
[dbo.tArtist.xmlData.value()]: 'value()' requires a singleton (or empty
sequence), found operand of type 'xdt:untypedAtomic *'
This error message tells that there can be more than one sequence found with provided XPath expression. For example, in case where there are many "albums" elements or if there would be more than one "labels" element.
In order to fix the error change the XPath expression on one of the following:
Here is an example data type "time". Let’s assume that we want to get name of the first album, it's first song name and this song's length for each artist.