gopal
gopal

Reputation: 3741

SQL SERVER Query result in CSV format is possible?

Is it possible to get the query result in .CSV file format from SQL SERVER 2000 and above versions?

If so can we use this feature from an asp.net application to get the result in CSV format?

If so how can we do this?

Upvotes: 0

Views: 297

Answers (1)

Raj
Raj

Reputation: 1770

You should explicitly loop through the DataTable results and build the CSV file yourself.

Upvotes: 1

Related Questions