Answer by John Eisbrener for Carriage return/line feed stopped working in SQL...
Since you're outputting to Grid View, I suspect that the option to Retain CR/LF on copy or save is disabled. Enable this option, open a new query window, run the same query, and your newline characters...
View ArticleCarriage return/line feed stopped working in SQL Server
SQL was working fine last week with the old CHAR(13)+CHAR(10) for line feed/carriage return. DECLARE @text varchar(2000) SET @text = 'Attached is your new reporting ID and temporary password.' +...
View ArticleAnswer by Reece for Carriage return/line feed stopped working in SQL Server
You dont have to open a new query window, you can right click the query, select Query Options and go to Results > Grid and the same option is there.Changing it in the above would update the default...
View Article
More Pages to Explore .....