Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9082545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T20:35:05+00:00 2026-06-16T20:35:05+00:00

I have SSIS Package which Exports Data from table to Excel file Control Flow

  • 0

I have SSIS Package which Exports Data from table to Excel file

Control Flow :-

Control Flow

Data Flow :-

enter image description here

This is My Step :-

  1. Drop Excel Table
  2. Create Excel Table with format as of my Select Query which i used to retrieve data from database
  3. Insert Data from Database to Excel file

I Used Query Like Select * From Table Where --Some Condition

I retrieve 3000 rows out of 10000 rows and put that 3000 rows in my excel sheet.
But when open my excel sheet i saw scrollbar which goes till 10000th row and ends hence my excel sheet size also increses . how can i reduce my excel sheet size ? my excel sheet contains only 3000 rows then why blank cells which goes till 10000th row ?

SQL Server 2008 &
Visual Studio 2008 with BIDS

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T20:35:06+00:00Added an answer on June 16, 2026 at 8:35 pm

    I believe your issue is around the method in which you are using to create the file. You have two alternatives and both should fix your issue:

    Solution #1:

    You can create an Excel file with those predefined columns, essentially your empty output file – this would act as your ‘Template File’. Your flow would then be this:

    1. File System Task – Copy template file to output or working directory (rename if necessary)
    2. OLEDB Source Task – Query your source for the data (3000)
    3. Data Conversion Task
    4. Excel Destination Task – Put data into new Excel file

    Note: You already have steps 2 thru 3 complete, you just need to make sure you are connecting to the new Excel file. Also, to clarify, step 1 is outside the Control Flow Task.

    This way is helpful because you always have a blank and consistently formatted Excel file to copy and work with.

    Solution #2:

    The other option is to use a Script Task and create the Excel file – you could also load the data into the file in this task. This requires some basic understanding of VB.NET or C#. Basically you would need to get a XLS library (like NPOI). This is more complicated, but gives you the best functionality.

    I recommend you try solution #1 and see how that works for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small SSIS package which exports data to a excel file from
I have SSIS package which pulls the data from Excel(.xls) file and load the
I have a SSIS package which reads an Excel File (Data Flow Source) and
I have an ssis package...which read data from fixed-column-width text file into DB table.
I have an SSIS package which reads an Excel File (Data Flow Source) and
I have simple SSIS package which reads data from flat file and insert into
I have an SSIS package that exports data from a table on a SQL
I have a SSIS package which exports data from a query into a flat
I have simple SSIS package where I import data from flat file into SQL
I Have Created SSIS package which selects data from Source DB and Inserts it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.