Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个新角色,它应该有权执行 SP 列表并选择一些视图。我对角色运行授予执行/选择<object>。考虑到这些表位于不同的方案中,我是否需要向 SP/Views 中使用的表授予此角色选择权限?
<object>
跨数据库的所有方案/SP/视图的所有者是 dbo。
不明白为什么是“-1”,可能是因为那个人很傻,但无论如何答案是:不。
说明:如果对象的所有者和 SP/View 相同,我们不需要将 select 授予任何对象。