gpt4 book ai didi

sql-server - SQL Server : permissions to read database diagrams

转载 作者:行者123 更新时间:2023-12-03 06:59:12 25 4
gpt4 key购买 nike

您能否告知,要授予用户读取 SQL Server 2005 中数据库图表的权限需要什么权限?

非常感谢!

最佳答案

From BOL

  • Although any user with access to a database can create a diagram, once the diagram has been created, the only users who can see it are the diagram's creator and any member of the db_owner role.
  • Ownership of diagrams can only be transferred to members of the db_owner role. This is only possible if the previous owner of the diagram has been removed from the database.
  • If the owner of a diagram has been removed from the database, the diagram will remain in the database until a member of the db_owner role attempts to open it. At that point the db_owner member can choose to take over ownership of the diagram.

所以,db_owner/dbo 是最好的

关于sql-server - SQL Server : permissions to read database diagrams,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4661350/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com