Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

徵兆

您可以使用 Microsoft SQL Server Management Studio (SSMS) 或 SQL Server Data Tools (SSDT) ,將資料表匯出為 CSV 檔案。 例如,在 SQL Server Integration Services (SSIS) 專案中,將資料表匯出為 CSV 格式。

如果您選取雙引號 (「) 做為文字辨識符號,而且如果有任何記錄包含雙引號,則表示符號可能無法在輸出中正確逸出。

例子

原始資料

big「data

預期輸出

「big」「data」

實際輸出

「big」data」

解決方案

這個問題的修正套裝程式含在下列SQL Server更新中:

SQL Server 2017 的累積更新 8

安裝此更新之後,當您使用 CSV 格式匯出資料表時,必須將資料表的值設為 True以開啟「脫逃記號」功能。

當您使用篩選行為時,必須針對儲存的 SSIS 封裝在 SSDT 中變更「逸出辨識符號」功能。

下列螢幕擷取畫面顯示EscapeQualifier屬性的詳細資料:

EscapeQualifier 屬性的詳細資料

附註: 

關於SQL Server組建

SQL Server的每個新組建都包含上一個組建中的所有 Hotfix 與安全性修正。 建議您安裝適用于SQL Server版本的最新組建:

SQL Server 2017 的最新組建

狀態

Microsoft 已確認<適用於>一節中所列的 Microsoft 產品確實有上述問題。

參考資料

瞭解 Microsoft 用來描述軟體更新的標準 術語

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×