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 8524587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:43:46+00:00 2026-06-11T07:43:46+00:00

I have SQL Command task in SQL Server which is updating only 20 rows

  • 0

I have SQL Command task in SQL Server which is updating only 20 rows per second, but I need to update more than 200,000 rows which is taking time. When I am using SCD (Type 2) it is neither inserting or updating any records. (Not even giving any error)

Some batch of rows are getting transfered and SQL command task is becoming yellow.. though it is updating the columns but very slow (20 rows per second).

How can I increase the speed of update?

  • 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-11T07:43:48+00:00Added an answer on June 11, 2026 at 7:43 am

    Don’t use the SQL Task. It performs singleton operations so you can expect to have 200,000 update statements issued against the target database. You might get some marginal boost if you created a stored procedure to avoid a few steps in the query compilation process but you’d have to test and see.

    The real way to get a performance boost is to create a staging table and dump all the rows to be updated into that table. After the data flow has completed, then wire up an Execute SQL Task to perform batch update from the staging table to your target table.

    Let me know if a picture would make that more clear

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

Sidebar

Related Questions

I have the following SQL command that I need to save as a csv
I have this query which on executing in my sql command line client executes
I have a standard sql server 2008 project which has been created using vs2010.
I have been assigned the task of converting an SQL Server Database to an
I've worked extensively with SQL Server but have very little experience with Oracle. I've
I have implemented a task in Hive. But now I need to call a
I most likely have a syntax issue (SQL command and error copied below) -
I'm having a problem in a SQL command. I have a table with questions,
I have a datareader source firing some sql which takes longer than 30 seconds
I have an application that takes various command line parameters. This works fine but

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.