?
Solved

Export to EXCEL

Posted on 2006-06-09
1
Medium Priority
?
427 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

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

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
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 video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Suggested Courses

770 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