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.

Chapter 3: Change Management and<br />

Source Control<br />

With this chapter, we begin our exploration of the processes, tools and practices that are<br />

required in order to allow a team, or even several teams, of developers to work together to<br />

successfully and smoothly deliver an application and its database to production.<br />

The purpose of change management is to protect the integrity of the database design<br />

throughout the development process, to identify what changes have been made, when,<br />

and by whom and, where necessary, to undo individual modifications. A source control<br />

system is typically the critical application around which a change management regime is<br />

structured, and this is a requirement for any team development project.<br />

In this chapter, we will explore:<br />

• development environments that are necessary, as an application and its database make<br />

their way from initial development through to production<br />

• an overview of source control for databases, including coverage of source control<br />

models and systems, and the challenges of managing database objects in source control<br />

• how to get your database objects into source control, via scripting or by using<br />

<strong>Red</strong> <strong>Gate</strong> <strong>SQL</strong> Source Control<br />

• managing data in source control, and how to synchronize the data needed for the<br />

application to run (lookup tables, metadata, and so on).<br />

With all this in place, we will move on, in Chapter 4, to see how to automate the<br />

deployment of a database, including necessary data, from one environment to another.<br />

60

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

Saved successfully!

Ooh no, something went wrong!