Con sysobjects esto funcionó:
DECLARE @List varchar(2000)
SELECT @List = COALESCE(@List + ',', '') + Cast(name As varchar(50))
FROM sys.sysobjects
SELECT @List As 'List'
Con sysobjects esto funcionó:
DECLARE @List varchar(2000)
SELECT @List = COALESCE(@List + ',', '') + Cast(name As varchar(50))
FROM sys.sysobjects
SELECT @List As 'List'