This is what I am doing currently ;
Pulling in a CSV file into memory with 'many'(1000+) records - stripping out one colum. I have a text box to type in the first part of the SQL query and a text box to type any other part of the SQL query that comes after the data to be processed.
THis is output to a file, which I then cut and paste into MSSQL Manager and run. Obviously all I want to do is to remove the cut and paste and save to file part of the operation and output to a file (which I eventualy want to e-mail to someone).
Thanks in advance