Query data 08 and 14 The results are the same, SQL Sever 2018 copy to Excel no problem, but 14 version is not necessarily correct, check the reason is the 14 version will return "carriage return" and "line break", so the fields found here to remove the line and carriage return:
Replace (replace (A.fmodel,char (), '), char (13), ')
About the difference between the carriage return line, here post Baidu difference:
Chr (13) and Chr (10) all have the same effect under the win system,
In a Linux system, a valid newline can only be for Chr (10), i.e./n
For uniform format and compatibility, all text line-wrapping rates are based on a combination of \ r \ +CHR (10) to determine
There is another kind of difference between the two symbols in the win system, I did not go to verify whether 100% is correct, you can take the reference
"\ chr (10) wraps and the cursor position is unchanged on the new line
\ r ie Chr (13) Enter, move the cursor to the beginning of the line
Resolve Sqlsever 2014 Replication results to Excel multi-trip problem