DECLARE @Str varchar(8000) set @Str = '' SELECT top 10 @Str = @Str + au_lname FROM authors print @Str