Sql Server 2005 - Takes time to update

  • Hi,

    I'm using a middle ware tool to update 500 records in sql server 2005 using stored procedure.

    I'm not committing any individual rows because if there in any problem with my updates I should roll back the entire updates.

    And finally after successful updates of 500 records I'm doing a commit.

    But it is taking long time and the tables are getting locked.

    For 20 records it takes 3 mins to updates which has 8 columns.

    Regards,

  • Please don't cross post. It just wastes people's time and fragments replies.

    No replies to this thread please, direct replies to: http://www.sqlservercentral.com/Forums/Topic766034-360-1.aspx

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply