I have had this problem with SQL Server 2000 - DTS package and hoping that SQL Server 2008 - SSIS may have a solution. Our developers have ran multiple select statements in Query Analyzer and sent the result to client who said, HAH, this is what we want on a daily bases. The problem is, How can I automate multiple select queries that ran in Query analyzer and have the result in 1 file and in ANSI format.
I couldn't find a way in DTS package (SQL 2000). So what I did was, created a stored procedure with almost 20 select statements in it and run the Stored procedure from a job and get the result in a file that is in UNICODE format (Job creates the resulting file in UNICODE format only). Then, I have to run a command to change the file from UNICODE to ANSI mode so that client can load the file into where ever they are loading to.
The question is, Is there a way in SSIS package where I can run multiple select statements and get the result in a single file that is created in ANSI format ?
Thank you.