Viewing 2 posts - 1 through 2 (of 2 total)
It seems to me that I found the solution:
DECLARE @XML XML
DECLARE @ElementName VARCHAR(20)
SET @ElementName = 'city'
SELECT @XML = '
<employees>
<employee>
<name>Jacob</name>
<city>NY</city>
...
March 4, 2010 at 5:34 am
DECLARE @XML XML
DECLARE @ElementName VARCHAR(20)
SET @ElementName = 'city'
SELECT @XML = '
<employees>
<employee>
<name>Jacob</name>
<city>NY</city>
<team>SQL Server</team>
</employee>
<employee>
...
March 4, 2010 at 5:16 am
Viewing 2 posts - 1 through 2 (of 2 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy