Sponsored By
MindStick SurveyManager
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Follow _MindStick_ on Twitter View MindStick Software's LinkedIn profile View MindStick Software's Facebook profile
Mindstick
Article Article  Forum Forum  Blog Blog  Quiz Quiz  Beginner Beginner  Careers Careers  Contact Contact  Login Login  
Home | Product | Services | About Us | Interview | DeveloperSection | Submit an Article | Submit Blog
Report Abuse Form
Reason:    
   

Home >> Database >> MSSQL Server 2000/2005/2008/2012 >> Copy Data from one Table to another
Author Post

sandy taylor


Total Post: 11
Member Since: 10/9/2010
Points: 55
Copy Data from one Table to another
Posted On: 10/17/2010 1:39:05 PM
Copy all records data from Table1 into Table2 matching on the ID.
Don't know how to write the query to make this happen. Can anyone help?
Thanks!
Sandy
Author Post

Uttam Misra


Total Post: 113
Member Since: 6/2/2010
Points: 818
Re: Copy Data from one Table to another
Posted On: 10/18/2010 4:25:57 AM

UPDATE Table1

SET Table1.ID = Table2.ID

FROM Table1

INNER

JOIN Table2

ON Table2.ID = Table1.ID

Report Abuse Form
Reason:    
 
Total Online Users: 2852
Advertisement
MindStick DataConverter
Advertise with Us
  
Copyright © 2009 - 2013MindStick. All Rights Reserved.