• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

select permission to remove a table

I have 2 users database, pat  and ted
 how? remove the permission to read user table Pat sales.order
  • 2
2 Solutions
Guy Hengel [angelIII / a3]Billing EngineerCommented:
connect as sales (or dbo), and run this:
deny select on sales.order to pat

Open in new window

Ephraim WangoyaCommented:
try using revoke

revoke select on OBJECT::sales.order from Pat
Guy Hengel [angelIII / a3]Billing EngineerCommented:
revoke would only remove the explicit permission, but not necessarily completely block the SELECT permission, if the permission has been granted via other roles, for example.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now