Solved

Export to EXCEL

Posted on 2006-06-09
1
422 Views
Last Modified: 2008-03-03
hi,

Can EEs give me an example that from DTS, I can enter a value, then send the value to sp, then export to an Excel file, this excel file should be generated on the fly, the tricky part (at least to me)is when I need to call two sps:

something ike this:

sp_users
sp_orders

first, loop through the first sp and get the list of he users.......then loop through the second sp, which will bring out 12 months of orders for this user...  in Excel, should b like this:


USER A
ORDER
JUN xxxxx
FEB xxxxx
MAR xxxx
til....DEC


USER B
ORDER
JUN xxxxx
FEB xxxxx
MAR xxxx
til....DEC


in the same spreadsheet...possible?  thx
0
Comment
Question by:mcrmg
1 Comment
 
LVL 11

Accepted Solution

by:
Ved Prakash Agrawal earned 200 total points
ID: 16875764
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question