Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi All,
If any one tell me by which i can transfer table from one sql server database to another sql server database.
Posted

1-RIGHT CLICK ON YOUR DATA BASE AND CHOOSE EXPORT/ OR IMPORT
2-THERE ARE WIZARD BY WHICH YOU CAN COPY SOME TABLE OR ALL INTO ANY FORM OF DATABASE.

OR
1-DISCONNECT YOUR DATABASE FROM SQL ENGINE.
2-COPY TWO FILE FROM PROGRAM FILES/MICROSOFT SQL/ MS1.1 OR MS1.2/ DATA/ YOUR DB NAME WITH EXT. .MDF AND .LDF
3-PASTE AT THE SAME PLACE AND CONNECT WITH SQL ENGINE.
 
Share this answer
 
Comments
shubham Dev 11-May-13 3:29am    
I have copied schema from one server to another , all the table structure and sp's has been created but now i want to transfer those table's data from one server to another sql server d b

so suggest me by which i can test on single table data, and then i can apply on all tables
Thank's
 
Share this answer
 
Comments
shubham Dev 11-May-13 3:29am    
I have copied schema from one server to another , all the table structure and sp's has been created but now i want to transfer those table's data from one server to another sql server d b

so suggest me by which i can test on single table data, and then i can apply on all tables
Thank's
Mehdi Gholam 11-May-13 3:46am    
If you want to copy all the data as well then just backup and restore the database. The links above show you how to filter and copy data with queries.
shubham Dev 11-May-13 3:56am    
But I want some specific table's data , because there are several tables those data are unused .Thanks
Mehdi Gholam 11-May-13 4:00am    
The links are pretty clear if you read them.
You have to create transfer package in SQL Server and execute it.

You can schedule it as well by creating a SQL job for it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900