SqlPackage提取与导出 [英] SqlPackage Extract vs Export

查看:46
本文介绍了SqlPackage提取与导出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SqlPackage 提取导出?

何时应该使用其中一个?

When should I use one or the other?

我需要将BD从Azure SQL传输到IaaS上的SQL Server.建议使用这种方法吗?

I need to Transfer a BD from Azure SQL to SQL Server on IaaS. Is this method advised?

Thinks

JD

推荐答案

Hello,


Us the following command to export the Azure SQL Database to a local drive on the SQL Server VM IaaS.


SqlPackage /Action:Export /SourceServerName:SampleSQLServer.sample.net,1433 /SourceDatabaseName:SampleDatabase /TargetFile:"F:\Temp\SampleDatabase.bacpac"


Hope this helps.


Regards,

SQLCoffee.com

Alberto Morillo
SQLCoffee.com


这篇关于SqlPackage提取与导出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆