DECLARE @fruitNames VARCHAR(8000) SELECT @fruitNames = COALESCE(@fruitNames + ', ', '') + FruitName FROM Fruits SELECT FruitNames = @fruitNames
Friday, February 25, 2011
We can do the same thing in a Sql Server Query also
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment