Reputation: 67
I have already implemented spooling the result of a SQL Server database query to a .csv file using the SPOOL
command.
How can I spool multiple query results into different sheets of an Excel file?
.CSV
file doesn't support different sheets like that of Excel since it is flat.
Upvotes: 1
Views: 901
Reputation: 2891
You'll need to use a tool alongside sql-server like like SSIS:
Or DTS:
Upvotes: 3