Solved

Export to EXCEL

Posted on 2006-06-09
1
423 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

840 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