Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 REVOKE and special roles
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Yak Posting Veteran

50 Posts

Posted - 04/19/2004 :  17:44:06  Show Profile  Reply with Quote
Hoping this is an easy one for you gurus...

I added a user account to the special role 'db_datareader'. Next, I REVOKed SELECT access from one column of a table using the following:

REVOKE SELECT (ColumnName) ON TableName FROM AccountName

Why can the user account still see the column?

And... how can I achieve the desired results of having the account be able to see everything except the one column of this one table.


Almighty SQL Goddess

38200 Posts

Posted - 04/19/2004 :  17:49:11  Show Profile  Visit tkizer's Homepage  Reply with Quote
DENY SELECT (ColumnName) ON TableName TO AccountName

Go to Top of Page

Yak Posting Veteran

50 Posts

Posted - 04/20/2004 :  08:56:19  Show Profile  Reply with Quote

Many thanks!
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000