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

Introduction In previous article i explained how to Copy all data from one table to another in the same database in Sql Server and How to delete all stored procedures from sql server database and How to delete all triggers from sql server database and Concatenate two strings in Sql Server.

In this article i have explained the way to copy all the data one database table to another database table. Suppose we have "Employee" table in the database "FirstDataBase" having some data and we want to copy entire structure and data into another table "Employee" of another database "SecondDataBase" then the query will be as:

SELECT * INTO SecondDataBase.dbo.Employee FROM FirstDataBase.dbo.Employee

NoteThis query will create  Employee table in SecondDataBase  having all the data copied from the Employee  table of FirstDataBase.

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..