Sponsored By
Advertise with Us
Advertisement
Advertise with Us
Follow Us
Article
Forum
Blog
Quiz
Beginner
Careers
Contact
Login
Email Id
Password
Remember Me
Forgot Password?
Sign Up
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
Report Abuse
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
Reply
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
Report Abuse
UPDATE Table1
SET Table1.ID = Table2.ID
FROM Table1
INNER
JOIN Table2
ON Table2.ID = Table1.ID
Reply
Report Abuse Form
Reason:
Total Online Users:
2852
Advertisement
Advertise with Us
Copyright ©
2009 - 2013
MindStick. All Rights Reserved.
Home
|
Contact Us
|
Services
|
Feedback
|
Advertisement
|
Privacy Policy
|
Term & Conditions
|
About Us