对象'tablename',数据库'db1',schema'dbo上的SELECT权限被拒绝

编程入门 行业动态 更新时间:2024-10-19 10:23:03
本文介绍了对象'tablename',数据库'db1',schema'dbo上的SELECT权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好我已经搜索了很多这个错误 对象'tablename'拒绝SELECT权限,数据库'db1',架构'dbo 但是我没有得到确切的答案,我无法理解问题的确切位置,为什么它会显示此错误以及解决方案是什么...... Plz帮助/回复我....

Hi every one i have search a lot for this error "SELECT permission denied on object 'tablename', database 'db1', schema 'dbo" but m not getting exact answer, m not able to understand the where the problem lies exactly, why its shows this error and what is solution for that... Plz help/reply me....

推荐答案

这是因为您无权在该表上执行SELECT。请你的dba给你许可。 授予权限sql-script: This is because you don't have permission to do SELECT's on that table. Ask your dba to give you permission. Grant permission sql-script: GRANT INSERT, UPDATE, SELECT ON YourTable TO User1, User2

b $ b 在SQL Server中授予和删除权限 [ ^ ]

我通过在安全性,登录下引用登录用户的属性来解决这个问题。然后转到用户映射并选择数据库,然后选中 db_datareader db_dataweriter 选项。 I solved this by referring properties of login user under the security, logins. then go to User Mapping and select the database then check db_datareader and db_dataweriter options.

更多推荐

对象'tablename',数据库'db1',schema'dbo上的SELECT权限被拒绝

本文发布于:2023-10-15 03:06:05,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1493060.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:被拒   权限   对象   数据库   tablename

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!