May 21, 2016 at 11:53 am
Comments posted to this topic are about the item Grant > Deny?
May 22, 2016 at 11:54 pm
This was removed by the editor as SPAM
May 23, 2016 at 1:35 am
Good question Steve, thanks.
Note that this only works if Common Criteria compliance is NOT enabled. One of the things that the Common Criteria option does is to make a table level DENY overcome a column level GRANT.
May 23, 2016 at 7:30 am
Well, I learned something today. :angry: :hehe:
May 23, 2016 at 9:18 am
sestell1 (5/23/2016)
Well, I learned something today. :angry: :hehe:
Me too!
May 23, 2016 at 10:38 am
I got it right, but it was a head scratcher. Thanks, Steve!
May 23, 2016 at 12:01 pm
A useful question with a really interesting script and a very good explanation. Thanks, Steve. 🙂 A more detailed description can be read in
https://www.mssqltips.com/sqlservertip/2894/understanding-grant-deny-and-revoke-in-sql-server/
May 24, 2016 at 6:29 am
sestell1 (5/23/2016)
Well, I learned something today. :angry: :hehe:
Me too.
May 24, 2016 at 11:47 am
Nice question, but the reference chosen (https://msdn.microsoft.com/en-us/library/ms188371.aspx, the "GRANT Object Permissions (Transact-SQL)" page) was an unfortunate choice, because it still omits the important statement that column level grant overriding table level deny will be removed in a future release while https://msdn.microsoft.com/en-us/library/ms187965.aspx,the "GRANT (Transact-SQL)" page has contained this statement in all versions since 2008 R2.
I don't know why Microsoft is carrying both this "GRANT Object Permissions (Transact-SQL)" page and the more up to date "GRANT (Transact-SQL)" page and has been doing so at least since SQL Server 2008 R2 (both pages have 2008 R2 and 2012 verions as well as the current version). The GRANT page says it is applicable to Azure SQL Data Warehouse and Parallel Data Warehouse; the GRANT Object Permissions page doesn't. Of course both say the apply to SQL Server (2008 onwards) and Azure SQL Server.
Tom
May 24, 2016 at 1:18 pm
The rearrangement of information is intended to make keeping things up to date easier for MS and to prevent stale pages. I'm not sure this works great, but I understand what they are trying to do.
The "removal" notice isn't one I put a lot of stock in. This is one that I could see them not ever removing.
May 25, 2016 at 10:28 am
Thanks, learned something new.
May 26, 2016 at 9:57 am
Thanks for the question! I learned something yet again. DENY and GRANT are really tricky.
- webrunner
-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
June 5, 2016 at 1:35 pm
This one was easy 😎
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply