What would the minimum set of features be to create a SQL Schema Migration tool?
Add FK ContraintsRemove FK Contraints
Add Non-Clustered IndexesRemove Non-Clustered Indexes
Add TablesRemove Tables
Add ColumnsRemove Columns
Add SprocsRemove SprocsAlter Sprocs
Add ViewsRemove ViewsAlter Views
LHS is a dependency of the RHS
Add dependency order (removal dependency order is the opposite):Tables -> Columns -> FKs -> Views -> Sprocs
Are there other common scenarios I'm not think about? Like changing the nullability of a column or adding/removing a default?
Powered by: newtelligence dasBlog 2.1.8102.813
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, Shawn Neal
E-mail