sql server查詢結果複製出來,沒有換行(存進去的數據是換行的)

https://stackoverflow.com/questions/53115490/how-to-correctly-insert-newline-in-nvarcharpost

The problem is your setting on SSMS, not that the data doesn't have a line break.code

Go to: Tools -> Options -> Query Results -> SQL Server -> Results to Grid -> Retain CR/LF on copy or Save and make sure the option is ticked.get

相關文章
相關標籤/搜索