SQL version control methodology

前端 未结 6 1165
一生所求
一生所求 2021-02-02 14:33

There are several questions on SO about version control for SQL and lots of resources on the web, but I can\'t find something that quite covers what I\'m trying to do.

F

6条回答
  •  无人及你
    2021-02-02 14:45

    Try DBSourceTools. (http://dbsourcetools.codeplex.com)
    Its open source, and specifically designed to script an entire database - tables, views, procs to disk, and then re-create that database through a deployment target.
    You can script all data, or just specify which tables to script data for.
    Additionally, you can zip up the results for distribution.
    We use it for source control of databases, and to test update patches for new releases.
    In the back-end it's built around SMO, and thus supports SQL 2000, 2005 and 2008.
    DBDiff is integrated, to allow for schema comparisons.
    Have fun, - Nathan.

提交回复
热议问题