All Forums >> [Scripting] >> WSH & Client Side VBScript >> How to export a SQL View to CSV using VBScript Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Posts: 3165
Score: 50
Joined: 6/29/2006
From: Orange County, California
Status: offline
Not certain, but you can export to a csv from an Access DB like this...
You might be able to modify this to export from an SQL server...not sure though... You might also just query the Table using ADO and use the GetString method to format the data and write it out to a .csv file.
is it possible for vb script to pick up certain information from 2 separate access tables and insert them into the 3rd table before export it out to a csv file? All 3 tables r in the same db