【发布时间】:2012-08-29 06:07:03
【问题描述】:
您好,我使用的是 SQL SERVER 2008 R2,我有 2 个数据库
1] ABC (with only structure like schemas, tables but no data in the table)
2] ABC1 (with schemas, tables and data in the tables)
我在 Schema 和 Tables 级别进行了比较,我发现 #2 中的表已更改但 #1 中没有,我想知道如何生成更改脚本以更改 #1 中的表?以及如何生成 #1 中缺少的 Alter、Update 和 Create 脚本? 第一个是旧数据库,第二个是新数据库。
【问题讨论】:
标签: sql-server-2008 sql-server-2008-r2 sql-server-2008r2-express