Copy all data from one table to another in the same database in Sql Server

Introduction: In my previous articles i explained how to Copy all data from one database table to another database table in Sql Server. and How to delete all tables from Sql server Database and how to Take automatic backup of Sql server Database and How to concatenate two strings in Sql Server and Various Date format available in sql server

Now in this article i have explained the way to copy data from one table to another in the same database.

Suppose we have Employee table having some data and we want to copy entire structure and data from Employee table to another table e.g EmployeeCopy  then the query will be:

SELECT * INTO EmployeeCopy  from Employee

Note: This query will create  EmployeeCopy  table  having all the data copied from the Employee  table.

Now over to you:
"A blog is nothing without reader's feedback and comments. So please provide your valuable feedback so that i can make this blog better and If you like my work; you can appreciate by leaving your comments, hitting Facebook like button, following on Google+, Twitter, Linked in and Pinterest, stumbling my posts on stumble upon and subscribing for receiving free updates directly to your inbox . Stay tuned and stay connected for more technical updates."
Previous
Next Post »

If you have any question about any post, Feel free to ask.You can simply drop a comment below post or contact via Contact Us form. Your feedback and suggestions will be highly appreciated. Also try to leave comments from your account not from the anonymous account so that i can respond to you easily..