One option is to replace the '>' with '>' + carriage return + line feed...declare @BrokerNeutralityRouteList table (BrokerDeskInternalID varchar(10))insert @BrokerNeutralityRouteList select 'B0001'union all select 'B0002'union all select 'B0003'union all select 'B0004'declare @x varchar(100)set @x = (SELECT BrokerDeskInternalID as ID FROM @BrokerNeutralityRouteList T FOR XML AUTO)select replace(@x, '>', '>' + char(13) + char(10)) as MyXml
Ryan Randall Solutions are easy. Understanding the problem, now, that's the hard part.