Home All Groups Group Topic Archive Search About

Implementing Version Control on Database Scripts

Author
7 Jun 2006 5:55 PM
Frank J. Reashore
Hello All,

I am looking for best practises, procedures, dos-don'ts, and tools for
implementing version control on a database development project.

Three items need to be tracked:
1) code (stored procedures and user-defined functions)
2) database schema
3) data (lookup-table data and test data)

The development environment will have a master database managed by a single
DBA.

Each developer workstation will hopefully install a daily build which will
include an updated database.

There will be three enviroments: development, test, and production.

Thanks in advance for any help.

Cheers,
Frank J. Reashore, MCSD.net, MCDBA

Vancouver, Canada

Author
16 Jun 2006 12:14 PM
Rudi Bruchez
Frank J. Reashore wrote:

> I am looking for best practises, procedures, dos-don'ts, and tools for
> implementing version control on a database development project.

Hello,

You might find useful a script I made in Ruby, to extract all database
objects. It allows to enter it in a version control tool. You can also
schedule it regularly and run a diff tool on the results to track changes.
The blabla on the page is in french, but the code is easy to understand :

http://www.babaluga.org/doku.php/programmation/comparaison_python-ruby

Have also a look at Abaperls : http://www.abaris.se/abaperls/
A collection of perl scripts by Erland Sommarskog

--
Rudi Bruchez, MCDBA
http://www.babaluga.com/

AddThis Social Bookmark Button