Need to create an output file from sql query in an SSIS package

Posted on 2011-04-20
Last Modified: 2012-05-11
Hi experts,
I created a stored proc out of a sql query that generates some results. I need to get the results into an excel file. Which task should I use after the exec sql task to do this?
Question by:sqlcurious
    LVL 7

    Expert Comment

    You need to execute the proc inside a data flow task

    read the first post there:
    LVL 21

    Accepted Solution

    1. Use Data flow
    2. Source as OLEDB source
    3. EXCEL Destination

    Author Closing Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    I recently came across an interesting Question In EE ( and was puzzled about how to achieve that using SSIS out of the box tasks, which was i…
    Performance is the key factor for any successful data integration project, knowing the type of transformation that you’re using is the first step on optimizing the SSIS flow performance, by utilizing the correct transformation or the design alternat…
    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…
    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.

    737 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

    23 Experts available now in Live!

    Get 1:1 Help Now