I've a table with following data DATA ----- Red Blue White Yellow I want to fetch result as 'Red, Blue, White, Yellow' in a single SQL Query. How to do that? Thanks Harsh
What about DECLARE @allnotes VARCHAR(8000) SELECT @allnotes = ISNULL( @allnotes + ', ', '' ) + DATA FROM < your table > SELECT @allnotes ----------------------- --Frank http://www.insidesql.de -----------------------