Here's my query:
select letterid, lettername from ltrNames for xml auto, elements
Here's what I'm getting:
<ltrNames>
<letterid>1</letterid>
<lettername>First Letter</lettername>
</ltrNames>
<ltrNames>
<letterid>2</letterid>
<lettername>Second Letter</lettername>
</ltrNames>
<ltrNames>
<letterid>3</letterid>
<lettername>Third Letter</lettername>
</ltrNames>
Now here's what I'd like to get:
<ltrNames>
<letterid>1</letterid>
<lettername>First Letter</lettername>
<letterid>2</letterid>
<lettername>Second Letter</lettername>
<letterid>3</letterid>
<lettername>Third Letter</lettername>
</ltrNames>
How can I do this?
Thanks (again!),
Jason