简体   繁体   中英

How to export the sql server query result to .csv file and data should be double quotes in exported file using SSIS

Hi Folks i have requirement How to export the sql server query result to.csv file and data should be double quotes in exported file using SSIS

Below is Sample scenario please give me some suggestion to perform the task in SSIS.

Sql Query: SELECT EmployeeID,Name,Sal FROM EMPLOYEE

Expected Result

EmployeeID    Name         Sal
"1001"       "john"       "$20000"
"1002"       "Harry"      "$30000"
"1003"       "Kia"        "$20000"

Just put the " in the text qualifier field of the Connection Manager: 在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM