i have this script
'Exec Master..xp_Cmdshell ''bcp "Select column1, column2, column3 from table1" queryout "Z:\Temp\text.txt" -t"|" -c -T'''
and i have this file with the script
data1|data2|data3
data4|data5|data6
data7|data8|data9
But i need the file in this format
"data1"|"data2"|"data3"
"data4"|"data5"|"data6"
"data7"|"data8"|"data9"
how can i do it ?