Need to export fields containing linebreaks as a CSV from SQL Server

后端 未结 9 604
野的像风
野的像风 2020-12-28 13:49

I\'m running a query from SQL Server Management Studio 2005 that has an HTML file stored as a a string, e.g.:

SELECT html 
FROM table 

Thi

9条回答
  •  青春惊慌失措
    2020-12-28 14:21

    I got around this limitation by creating an Access database, using the "Link to the data source by creating a linked table" feature, opening the "linked" table, then copy/paste to Excel from there. Excel can save the CSV data as needed. You should be able to connect directly from Excel too, but the "linked table" feature in Access let me set up several tables at once pretty quickly.

提交回复
热议问题