Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate changes script

Let's imagine I added new column for some table in SQL Server Management Studio. Is there any way to get change script which is executed when I press save?

What I want to achieve is to apply the same change to other databases (we have a separate database for each developer for debuggin purposes).

like image 687
SiberianGuy Avatar asked Jun 06 '11 03:06

SiberianGuy


1 Answers

I assume you are using table designer in MS SSMS.

Do the changes in the designer and just before hitting Save, go to the Table Designer menu and select Generate Change Script....

like image 92
Alex Aza Avatar answered Sep 23 '22 16:09

Alex Aza