Please see the following URL for 1) why you should never use a While Loop for such a thing and 2) my response to Oleg's good post which basically shows why you shouldn't use XML for such things, either. Thanks folks.
[http://www.sqlservercentral.com/Forums/Topic943562-338-1.aspx#BM988659][1]
Kev... +1 on your solution.
[1]: http://www.sqlservercentral.com/Forums/Topic943562-338-1.aspx#BM988659
↧