G
Guest
H
I used the following statement to dump the results of a SQL- query into excel file, which works quite fine. But now, I need the output to be in csv- format, but I can't find a key word for that. Can anyone help me
' g is a valid OleDbComman
g.CommandText = "SELECT * INTO [Excel 8.0;DATABASE=C:\mytest.xls;HDR=NO;].Table1 FROM [MainTable] WHERE ..
g.ExecuteNonQuery(
So, how do I dump just the same output, but in csv format, to file
Thanks for any help
I used the following statement to dump the results of a SQL- query into excel file, which works quite fine. But now, I need the output to be in csv- format, but I can't find a key word for that. Can anyone help me
' g is a valid OleDbComman
g.CommandText = "SELECT * INTO [Excel 8.0;DATABASE=C:\mytest.xls;HDR=NO;].Table1 FROM [MainTable] WHERE ..
g.ExecuteNonQuery(
So, how do I dump just the same output, but in csv format, to file
Thanks for any help