---
title: "Copy Data from one Table to another"  
description: "Copy Data from one Table to another"  
author: "Anonymous User"  
published: 2010-10-17  
updated: 2010-10-18  
canonical: https://www.mindstick.com/forum/46/copy-data-from-one-table-to-another  
category: "mssql server"  
tags: ["mssql server"]  
reading_time: 1 minute  

---

# Copy Data from one Table to another

[Copy](https://www.mindstick.com/forum/161993/explain-the-numpy-array-copy-vs-view-with-example) all [records](https://www.mindstick.com/forum/34640/how-to-create-a-stored-procedure-for-display-all-records) [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) from Table1 into Table2 matching on the ID.\
Don't know how to write the [query](https://www.mindstick.com/blog/202/sub-query-in-sqlserver) to make this happen. Can [anyone](https://www.mindstick.com/articles/23207/how-to-find-the-best-fit-job-for-anyone) help?\
Thanks!\
Sandy

## Replies

### Reply by Uttam Misra

UPDATE Table1

SET Table1.ID = Table2.ID

FROM Table1

INNER

JOIN Table2

ON Table2.ID = Table1.ID


---

Original Source: https://www.mindstick.com/forum/46/copy-data-from-one-table-to-another

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
