troubleshooting Question

Truncate & Insert tasks in SSIS

Avatar of bsumanrao
bsumanrao asked on
Microsoft SQL Server
5 Comments1 Solution2964 ViewsLast Modified:
I dont understand, how this tasks need to be done in SSIS.

The table is created in the database. I setup a connection to database. i had weekly running ssis package in which, data is moving from SQL to Excel File.  I had a couple of tasks in control flow:
Execute process task, in which executable command file is present. Here last 5 copies of data is stored.
DataFlow Task: Used for moving data from SQL to Excel Sheet.

Now i need to insert couple of commands in this package.
Truncating the table in a database (truncate command)& Inserting fresh data into the table(Insert Command), so that this fresh data moves into excel sheet

Can u please help me out with the above tasks.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros