Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Quick update/insert into one table from another Expand / Collapse
Author
Message
Posted Saturday, October 13, 2007 3:04 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, December 27, 2007 11:29 AM
Points: 132, Visits: 2
Comments posted to this topic are about the item Quick update/insert into one table from another


Post #410392
Posted Wednesday, December 2, 2009 1:06 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, December 21, 2009 10:21 AM
Points: 1, Visits: 3
Eve, as far as I'm concerned, your method here is the holy grail to me. I have been looking for a way to update or insert from one table to another, and have tried to write something myself that doesn't use a cursor and doesn't take forever to execute for weeks now. I finally entered the correct search phrase into Google search today and discovered your post. Within a few minutes I modified it to work on my main table of 7 million + records being updated or inserted into from my new table of 200,000 + records. What took over 40 minutes to do with a cursor method now takes 1 minute, 37 seconds to execute. I am elated and want to thank you very much for making my day.
Post #827749
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse