简体   繁体   中英

How To transfer data from one production server to another

I have to migrate whole SQL Server database from one production server to another production server. I do not have access to live database. But of course I have create tables script. Suppose I create database on new server and I run create tables script, so empty database will all empty tables will be created. How can I transfer data from one production server to another.

Is there any tool in SQL Server to create scripts to transfer data from all tables from one server to another? In my situation I will need to create script to transfer the data and give it some other person so after running that script all data will be transferred.

Thank you.

You can generate scripts for data too just like database objects on SQL Server Please refer to given link for how you can script data in SQL Server database.

On database, you can choose on context menu " Tasks > Generate Scripts " option

In Advanced Scripting options, you can see three options in type of data to script. You can choose Data only script type

I hope it helps

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM