Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Download SQL result into a CSV file.

Status
Not open for further replies.

pigdogmonster

Programmer
Mar 30, 2004
4
GB
I have been informed this is possible but am not sure how to do this.

I basilcally want the person who is logging on to be able to download information about each days work:- e.g.

Download

Todays Loads - Tommorrows loads - Day After thas loads

If they select Todays loads an SQL query will be run for todays date and I want the result to be downloaded into a CSV file.

If 'Tommorrows loads' is selected then a query will be run with tommorrows date and so on.

Any ideas?

Example code would definatly help as I'm a newbie!

Many thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top