30.06.2013 Views

SQL Server Team-based Development - Red Gate Software

SQL Server Team-based Development - Red Gate Software

SQL Server Team-based Development - Red Gate Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The basic steps for the initial generation of the scripts are:<br />

• select Script Folder as the Source, on the New Project screen<br />

• click on the shortcut Create Schema Scripts…<br />

Chapter 3: Change Management and Source Control<br />

• connect to the database, and choose a name and location for the scripts<br />

• click the Create Scripts Folder button.<br />

It will use the database that you defined as the source and will reverse engineer each of<br />

the objects out to a file. The files, unlike the output from SSMS, will be categorized and<br />

placed into a nice, neat set of folders as shown in Figure 3-1.<br />

Figure 3-1: Script folder output from <strong>SQL</strong> Compare.<br />

With the database objects separated into scripts, and the scripts neatly categorized,<br />

you can check these objects into the source control program of your choice to begin<br />

managing the deployments.<br />

85

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!