是否禁用和启用SQL Server支持的外键约束?或者是我唯一的选择drop,然后重新create约束?
可能重复:
用于比较Sql Server表的免费工具
我想比较两个SQL Server数据库,包括模式(表结构)和表中的数据.什么是最好的工具呢?
我使用Azure管理控制台中的"导出"选项创建了Azure SQL数据库的BACPAC备份.
将其下载到我的机器后,我对如何将其恢复到本地SQL Server实例有点困惑.我遇到了DacImportExportCli工具,但找不到本地恢复的示例.
此外,如果有人编写了一个脚本来执行此操作(因此可以安排),这将是非常棒的.
我非常熟悉从Azure SQL V12导出到我的开发框,然后导入到我的本地sql(2014)实例的过程.我正在启动一个新的Win10盒子并安装了SQL 2016 CTP.我正在连接到同一个Azure实例并且可以对其进行操作 - 并且可以像2014年一样导出.bacpac.
但是,当我尝试导入到本地时,我得到:
Could not import package.
Warning SQL72012: The object [FOO33_Data] exists in the target, but it will not be dropped even though you selected the 'Generate drop statements for objects that are in the target database but that are not in the source' check box.
Warning SQL72012: The object [FOO33_Log] exists in the target, but it will not be dropped even though you selected the 'Generate drop statements for objects that are in …Run Code Online (Sandbox Code Playgroud) 好的,这不是将现有的 sql server 数据库迁移到 azure 数据库。恰恰相反。
我想停止使用 azure sql 数据库,并迁移到完整版本的 SQL Server。如何将 AZURE Sql 中的现有数据库迁移到新的 SQL Server 2008 数据库?
sql-server ×4
azure ×2
bacpac ×1
compare ×1
constraints ×1
database ×1
foreign-keys ×1
sql ×1
t-sql ×1