Database Source Control

12
DATABASE SOURCE/VERSION CONTROL Round-table discussion at fwPASS on 4/26/2011

description

Talking points about database source control used during a round table discussion with Professional Association for SQL Server members.

Transcript of Database Source Control

Page 1: Database Source Control

DATABASE SOURCE/VERSION CONTROL

Round-table discussion at fwPASS on 4/26/2011

Page 2: Database Source Control

What is Source Control?

Process

Repository

Page 3: Database Source Control

Why do I need it?

Product data management

Master “golden standard”

Traceability

Comparison

Oops moments

Page 4: Database Source Control

Tooling

Team Foundation Server TFS

Visual Source Safe </cough>

RedGate SQL Source Control

Subversion (svn)

http://secretgeek.net/dbcontrol.asp

Page 5: Database Source Control

Version Control?

None

Manual

Automatic

Page 6: Database Source Control

Practices

<discussion here>

Page 7: Database Source Control

What to Control?

Schema

Data

Both

Page 8: Database Source Control

Schema Comparison

DBDiff

RedGate Compare

Page 9: Database Source Control

Back Out Planning

Database backup

Back out scripts

Page 10: Database Source Control

DDL Script Generation

Subsonic utility Visual Studio plug-in

Page 11: Database Source Control

Thank you!

Website http://www.systemental.com

Blogs http://dean-o.blogspot.com/ http://practicalhoshin.blogspot.com

Twitter http://www.twitter.com/deanwillson

Email [email protected]

LinkedIn http://www.linkedin.com/in/deanwillson

Page 12: Database Source Control

References

http://www.codinghorror.com/blog/2008/02/get-your-database-under-version-control.html

http://www.codinghorror.com/blog/2006/12/is-your-database-under-version-control.html

http://odetocode.com/blogs/scott/archive/2008/01/30/three-rules-for-database-work.aspx