Solved

Sending Excel file through SSIS

Posted on 2008-06-25
2
517 Views
Last Modified: 2008-07-03
Hi there family,

How do I create a SSIS package in SQL Server 2005 to 1) create an Excel file  from a stored procedure and 2) send this Excel file to a specific file directory (i.e., C:\My Documents\Misc\) all in one fell swoop?
0
Comment
Question by:tuckandroll
[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
2 Comments
 
LVL 5

Accepted Solution

by:
catherinelouise earned 50 total points
ID: 21872471
Hello, try:
On the Control Flow tab add a Data Flow task.
Edit this, you will be taken through to the Data Flow tab.

Add a Data Reader Source task, in the Connection Managers tab you will need to create a .NetProvider\SqlClientDataProvider connection and configure a connection to your SQL Server and db where the stored proc resides.  In the Component Properties tab, type in the SQL statement that will execute your stored procedure in the SQL Command field.  You may need to change the timeout value depending on how long your sproc takes to complete.

Finally add an Excel Destination task, here you can configure the destination and name of the excel output file.

0
 

Author Comment

by:tuckandroll
ID: 21877804
thanks for the tip catherinelouise. I'll give it a try and let you know!
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

728 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