I have been asked to migrate a schema from our testing area into our staging area.
As someone that has never done this before my first instinct would be to paste every script into one large script and hope that I have done it in the right order.
Is there a better way? If anyone could point me to this information I’d be very grateful.
You can use the
Generate Scriptoption when right clicking on database inManagement Studioand even choosing to export data to the file in last step by clicking theAdvancedbutton.A tutorial can be found here How to: Generate a Script (SQL Server Management Studio)