Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing massive update
Message
 
 
To
31/03/2015 20:34:39
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01617566
Message ID:
01617570
Views:
58
>I have a program which runs for hours to update thousands of records. The program runs in a loop updating records one by one. As is the case for an insert command, is there any special syntax which would allow us to update multiple records in one command, saving precious time in the process?

Can you do a batch update updating 10K rows in a time? If each update is different. you can place the update of 10K rows into begin transaction / commit transaction to run it as a batch.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform