How to copy data of one table into another table
hw to copy data of one table into another table in sql server 2008
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Riyaz AkhtarRank #2,275 · 619 reputationPosted Jan 24, 2014, 2:10 AM EST
INSERT INTO table1
(col1,col2,col3)
SELECT col1,col2,col3 FROM table2
This should solve your problem.
let me know if you face any issue
vivek upadhyayRank #4,983 · 316 reputationPosted Jan 25, 2014, 5:10 AM EST
Riyaz AkhtarRank #2,275 · 619 reputationPosted Jan 26, 2014, 9:01 PM EST