asp.net - 将用户配置文件 SQL 数据库导入到 Windows Azure

标签 asp.net sql azure

我是一名初学者,正在尝试在 Windows Azure 中设置我的第一个网站。我已经发布了它并在 Windows Azure 中制作了一个 Sql 数据库。

在我的本地虚拟机中,我有包含用户配置文件数据库的 SQL 管理工作室。有没有办法导出该数据并导入到 Azure?

最佳答案

您可以直接从 SSMS 部署它。右键单击“对象资源管理器” Pane 中的数据库,选择“任务”->“将数据库部署到 Windows Azure SQL 数据库”命令:

enter image description here

在“部署设置”中单击“连接”按钮,然后连接到您的 Azure 服务器:

enter image description here

点击下一步:

enter image description here

查看摘要,然后单击“完成”:

enter image description here

成功部署后,连接到 SSMS 中的 Azure 服务器,您将看到您的数据库:

enter image description here

编辑:

如果在部署过程中遇到错误,请检查 Azure SQL 数据库中的限制列表:

Azure SQL Database General Guidelines and Limitations

Azure SQL Database Security Guidelines and Limitations

SQL Server Feature Limitations (Azure SQL Database)

此外,这里有一篇关于如何使用 SQL Server 数据工具将数据库迁移到 SQL Azure 的博客文章:Migrating a Database to SQL Azure using SSDT

希望这有帮助

关于asp.net - 将用户配置文件 SQL 数据库导入到 Windows Azure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24234642/

相关文章:

java - android 中的 SQL 数据库,请求索引 -1,大小为 0

c# - Dapper NullReferenceException

azure - 如何将 Azure Blob 的租赁状态更改为可用

sql-server - 无法使用 key 存储提供程序解密列加密 key : 'AZURE_KEY_VAULT'

ASP.NET CheckBoxList 数据绑定(bind)问题

asp.net - ASP.NET MVC 中的 session cookie 持久性

asp.net - 具有服务器端值的不引人注目的 JavaScript,最佳实践?

c# - 使用 Custom System.Web.UI.Control 时如何使 XHTML 验证愉快?

sql - 梦幻足球数据postgre sql获取一审

c# - 我们能知道谁访问 key 保管库资源吗