February 26, 2008 at 8:41 am
Hi,
I am a dba and I need to keep a log of when a manager asks me to give database access to a programmer.
Is there anything in place that exists? Something like an Excel spreadsheet or maybe a command that can be run to give me those details.
Any thoughts or articles would help!
Thanks.
February 26, 2008 at 9:59 am
If I understand your question clearly, you may try the following code
SELECT name, createdate, updatedate from master..syslogins
February 26, 2008 at 7:09 pm
can you try to play around with following ones :
select * from sysusers
select * from syspermissions
February 28, 2008 at 5:29 pm
Use the query in the link below and store the result in a excel file
http://www.sql-articles.com/index.php?page=Scripts/permission_list.php
Cheers,
Sugeshkumar Rajendran
SQL Server MVP
http://sugeshkr.blogspot.com
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply