Mambo is a tool that will compile each and every sql change script into a single "mambo" script such that a given change script is guaranteed to only run once.
This is the tool from: Dan Hardan. http://blogs.msdn.com/b/danhardan/archive/2007/03/30/database-change-scripts-mambo-style.aspx