Kendal Van Dyke

Wednesday, December 10, 2008 5 comments A + A -
Security SQL Server 2005 SQL Server 2008 Tips

Share This

  • Twitter
  • Google+
  • Linked In
  • Facebook

Related Posts

Security SQL Server 2005 SQL Server 2008 Tips
Newer Post Older Post Home

5 comments

Anonymous said...

As an Oracle DBA learning SQL Server, this is very nice to know. Thanks. FYI - in Oracle (as a DBA privileged user) you would query the dba_tab_privs view.

December 11, 2008 at 3:46 PM
BenHocker said...

Shouldn't the "List the effective permissions on the database for a server login" be
EXECUTE AS LOGIN = 'MYDOMAIN\some.user';
SELECT * FROM fn_my_permissions(NULL, 'SERVER');
REVERT;

December 29, 2008 at 3:03 PM
Kendal Van Dyke said...

BenHocker, good question...your example would show the effective permissions on the SERVER for that server login. My example shows the effective permissions on the DB for the server login.

December 29, 2008 at 3:12 PM
Anonymous said...

dba_tab_privs does not show the "effective" permissions - there are only permissions assigned directly to the user or role.
So, if You want to receive really ALL permissions for the user, the complex query from dba_tab_privs, dba_role_privs should be written.

December 17, 2009 at 10:30 AM
Anonymous said...

SQL Server Muppet SQL Server .. dba_role_privs = Oracle

August 9, 2011 at 5:37 AM

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Things You Need To Know If You Use DFS Replication
  • Disk Performance Hands On, Part 5: RAID 10 vs. RAID 5
  • SQL Server Management Studio 2008 Installation Walkthrough
  • Disk Performance Hands On, Part 2: RAID 10 Performance
  • Disk Performance Hands On, Part 6: RAID 10 vs. RAID 1

Labels

About Me Best Practices Career Data Mining Documentation Feature Requests Humor MagicPASS Meme Monday Mirroring Parameter Sniffing PASS Performance PowerShell Presentations Query Tuning Recognition Replication Scripts Security SQL Power Doc SQL Server 2005 SQL Server 2008 SQLH2 SQLRally SQLSaturday SYDI T-SQL Tuesday Tips Troubleshooting Updates VirtualBox Windows XML

What I'm Saying On Twitter

Tweets by @SQLDBA
Copyright © 2015 Kendal Van Dyke. All rights reserved.

Kendal is a database strategist, community advocate, public speaker, and blogger. A practiced IT professional with over 15 years of SQL Server experience, Kendal excels at disaster recovery, high availability planning/implementation, & debugging/troubleshooting mission critical SQL Server environments. Kendal is a Senior Consultant on the Microsoft Premier Developer Support team and President of MagicPASS, the Orlando, FL based chapter of PASS. Before joining Microsoft, Kendal was a SQL Server/Data Platform MVP from 2011-2016. [About Kendal] (http://lh3.googleusercontent.com/-wrW1fk8IiFE/Vr36w9dtRxI/AAAAAAAADCw/tVa4vTgLWIw/w139-h140-p/IMG_3503.JPG)