SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

Glockenspiel
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.

Thanks!!!!

tkizer
Almighty SQL Goddess

USA
35954 Posts

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

Tara
Go to Top of Page

Glockenspiel
Yak Posting Veteran

50 Posts

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

Many thanks!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.05 seconds. Powered By: Snitz Forums 2000