在 SQL Azure 中创建新用户
我被分配了将 SQL Server 数据库转换为 SQL Azure 数据库的任务。在此过程中我遇到了以下问题:
无法使用 Management Studio 2008 中的对象浏览器 v10。有解决此问题的方法吗?
我无法在安全部分下创建新用户,因为我无法使用对象浏览器。
基本上我想创建一个 Admin 用户和 NonAdmin 用户,每个用户都有自己的权限,可以在数据库中的不同表上执行 UPDATE、DELETE、INSERT 命令。基本上,我的 Web 应用程序有一个注册表单,如何在注册过程中将新注册用户与 SQL Azure 角色关联,以限制他们在数据库表上执行某些命令?
I have been assigned the task of converting an SQL Server Database to an SQL Azure Database. During the process I encountered these problems:
Cannot use the Object Browser in Management Studio 2008 v10. Is there a fix to this?
I cannot create new Users under the Security Section since I cant use the Object Browser.
Basically I want to create an Admin user and NonAdmin user each with their own privileges to UPDATE, DELETE, INSERT commands on different tables in the database.Basically my web application has a sign up form how can I associate new registered user to the SQL Azure Roles during the sign up process to limit them from perfroming ertain commands on the database tables?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
查看有关如何移动数据等的官方页面。“将数据库迁移到 SQL Azure”
http://msdn.microsoft.com/en-us/library/windowsazure/ee730904.aspx
另请查看“SQL Azure 迁移向导” v3.8.3'
http://sqlazuremw.codeplex.com/
使用数据层应用程序导出和导入将数据库迁移到 SQL Azure可能是您最好的选择,迁移向导是一个很棒的工具,我都使用过。
回复:1 您需要服务包,我不确定是否支持 2008 V10,获取最新版本或升级到 2008R2 Mgmt Studio(最新)
2:使用上面的工具
3:不确定您要做什么才能正确回答。
希望有帮助...
Check out the official page on how to move data etc..'Migrating Databases to SQL Azure'
http://msdn.microsoft.com/en-us/library/windowsazure/ee730904.aspx
Also check out the 'SQL Azure Migration Wizard v3.8.3'
http://sqlazuremw.codeplex.com/
Migrating Databases to SQL Azure by Using Data-tier Application Export and Import is probably your best option, the migration wizard is a great tool, I have used both.
re: 1 you need service packs, I'm not sure 2008 V10 is supported, get the latest version or upgrade to 2008R2 Mgmt Studio (latest)
2: use the tools above
3: not sure here what you are trying to do to correctly answer.
hope that helps...
只是回答你的问题。
1、否 SSMS 2008 不支持Azure。您必须使用 SSMS 08 R2。
2,如果您使用SSMS 08 R2,将会出现对象资源管理器。但连接到 SQL Azure 时的功能将非常有限。设计器和对话框被禁用,这意味着所有任务都应使用 SQL 脚本完成。
3,不太确定你的意思,但你可以尝试在 SQL Server 上所做的事情,因为 SQL Azure 与 SQL Server 非常相似。
数据层应用程序和 SQL Azure MW 是将现有数据库迁移到 SQL Azure 的好工具。但您仍然可以使用 SSMS 08 R2 中的内置功能来迁移数据库架构。只需使用本地数据库中的“生成脚本”菜单项,并确保在“数据库引擎类型的脚本”中选择 SQL Azure。
Just answer your questions.
1, No SSMS 2008 doesn't support Azure. You MUST use SSMS 08 R2.
2, If you are using SSMS 08 R2 the object explorer will be appeared. But the features when connecting to SQL Azure will be very limited. The designer and dialog are disabled which means all tasks should be done by using the SQL script.
3, Not pretty sure what you mean, but you can try what you are doing on SQL Server since SQL Azure is very very similar with SQL Server.
Data-tier Application and SQL Azure MW are good tool for migrating your existing database to SQL Azure. But you can still use the build-in feature in SSMS 08 R2 to migrate the database schema as well. Just use the Generate Script menu item from your local database, and make sure you selected SQL Azure in the "Script for the database engine type".