Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 select from datatable in to a csv

Author  Topic 

rowter
Yak Posting Veteran

76 Posts

Posted - 2011-05-19 : 15:10:45
Hi All,

I am using VS 2008 and VB.NET

Is there a way i can write from a datatable(temporary table not a database table) into a csv.

Something like :

Select * from mydatatable into my.csv

Thanks,

MIK_2008
Master Smack Fu Yak Hacker

1054 Posts

Posted - 2011-05-19 : 15:43:58
go through the following hope you'll get a solution for your requirements

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=49926

Cheers
MIK
Go to Top of Page
   

- Advertisement -