I\'m using Microsoft SQL Server 2005.
I think I need a sub-query.
I\'m looking for one (1) row per customer, with the AvailableAction field be a concatenatio
Here's a way that I'm sure will be bettered by someone that knows SQL Server XML!
SELECT CustID ,
CustName,
REPLACE(REPLACE(
( SELECT ''
FROM ACTION
JOIN CustAction
ON CustAction.CustID = Cust.CustID
WHERE CustAction.ActionID = ACTION.ActionID FOR XML PATH('')
)
,'<','<'),'>','>') AvailableAction
FROM Cust