Click here to Skip to main content
15,890,375 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

Is there a way I can export Sp result set to a .csv file in using Tsql.
What I am looking for a is by executing a sp I wanted the out of the select statement to save in a .csv file.

EG.
Select * from customer
Into d:\customer.csv

Appreciate if someone could show me an example
Posted

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900