how to compare/validate sql schema

后端 未结 11 708
后悔当初
后悔当初 2021-02-02 16:02

I\'m looking for a way to validate the SQL schema on a production DB after updating an application version. If the application does not match the DB schema version, there should

11条回答
  •  时光取名叫无心
    2021-02-02 16:18

    Which RDBMS is this, and how complex are the potential changes?

    Maybe this is just a matter of comparing row counts and index counts for each table -- if you have trigger and stored procedure versions to worry about also then you need something more industrial

提交回复
热议问题