SQL Server Management Studio 显示数据库图表 (ER) 权限 [英] SQL Server Management Studio Display Database Diagrams (ER) Permissions

查看:44
本文介绍了SQL Server Management Studio 显示数据库图表 (ER) 权限的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人确切知道 SQL Server 2005+ 中的数据库需要哪些权限,以便当一个人使用 SQL Server Management Studio 时,他们至少可以看到数据库图表.

I was wondering if anybody knew exactly what permissions where needed on a database in SQL Server 2005+ so that when a person uses SQL Server Management Studio, they could then be able to at minimum see the Database Diagrams.

我试过给这个人 db_datareader、db_datawriter 和 db_ddladmin,但没有用.

I have tried giving the person db_datareader, db_datawriter, and db_ddladmin, but to no avail.

我还尝试在用户的属性"→有效权限"中授予他们访问权限.在有效权限"下,我找不到数据库图表"或类似内容的数据库对象类型以授予用户访问权限.

I have also tried giving them access in the Properties → Effective Permissions of the user. Under Effective Permissions, I could not find the database object type for "database diagrams" or anything like that to give the user access to.

他们正在运行 SQL Server Management Studio(非快速版本.)

They are running SQL Server Management Studio (non-express version.)

任何帮助都会很棒.

仅供参考,我不想给他们 db_owner 访问权限.

FYI, I did not want to give them db_owner access.

  1. 对于其中一条评论:是的,该数据库是 SQL Server 2005 数据库.
  2. 至于答案之一,将数据库从生产转移到开发不是一种选择.

推荐答案

授予管理员权限不是正确的方法,您需要成为数据库图表的数据库所有者,查看此主题了解详情.

Giving admin rights is not the right approach, you need to be Database Owner for Database Diagrams, check out this thread for more details.

这篇关于SQL Server Management Studio 显示数据库图表 (ER) 权限的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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