Solved

Export to EXCEL

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Solution for warm standby SQL server 20 39
Do aggregate functions work differently when assigned to a variable? 15 33
TSQL previous 5 24
SQL Server stored proc 2 13
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…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now