Solved

Export to EXCEL

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Dynamics crm 2011 8 45
Server 2008 Cluster Fail-over Errors 5 49
Numeric sequence in SQL 14 38
Caste datetime 2 22
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 …
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

760 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

17 Experts available now in Live!

Get 1:1 Help Now