SQL Server ----- generate sql script

By generating a database Transfer sql script

Select the database needs to be transferred

 

 Click Generate Scripts appear

Profile interface to enter is click on Next

 

 Select the object into the interface,

 

 

You need to select settings schema and data / limited data / schema only follow steps

 

 

Select the location you want to save

 

 In summary can look at information about

 

 Click Finish

 

 

 

 Execute sql file in the database

Guess you like

Origin www.cnblogs.com/obge/p/11497890.html