Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 - General
»
Audti Trial for a single user
Audti Trial for a single user
Rate Topic
Display Mode
Topic Options
Author
Message
WAGalaxy
WAGalaxy
Posted Monday, August 24, 2009 9:47 PM
Grasshopper
Group: General Forum Members
Last Login: Friday, September 07, 2012 7:13 PM
Points: 10,
Visits: 80
Hello
For business requirements I want to create another sysadmin account called "sa2" and give it to the Software Developers/Business Analysts to use so they can perform their duties. What I want to do is implement a audit trail for that user only to capture any update/delete as well as creating databases, indexes, fields etc...pretty much everything for that user. We use SQL 2005 and 2008.
Have anyone done this before? Your help/advice is muchly appreciated.
Thanks
Brandon
Post #776425
Apurva
Apurva
Posted Wednesday, August 26, 2009 2:36 PM
SSC Journeyman
Group: General Forum Members
Last Login: 2 days ago @ 11:36 PM
Points: 82,
Visits: 557
By audit trail you mean sql profiler trace? You can track all these activities in the sql trace. Use the blank template and put the filters on loginname and the the operations you want to track.
Post #777864
WAGalaxy
WAGalaxy
Posted Wednesday, August 26, 2009 7:14 PM
Grasshopper
Group: General Forum Members
Last Login: Friday, September 07, 2012 7:13 PM
Points: 10,
Visits: 80
Hi
Thanks for your advice.
I prefer not to use Profiler as it can consume CPU...and I want to be able to run this constantly.
Any other suggestions is appreciated.
Regards
Brandon
Post #777990
Silverfox
Silverfox
Posted Thursday, August 27, 2009 2:25 AM
SSCrazy
Group: General Forum Members
Last Login: Tuesday, March 26, 2013 6:50 AM
Points: 2,719,
Visits: 1,065
WAGalaxy (8/24/2009)
Hello
For business requirements I want to create another sysadmin account called "sa2" and give it to the Software Developers/Business Analysts to use so they can perform their duties. What I want to do is implement a audit trail for that user only to capture any update/delete as well as creating databases, indexes, fields etc...pretty much everything for that user. We use SQL 2005 and 2008.
Have anyone done this before? Your help/advice is muchly appreciated.
Thanks
Brandon
First thing I would ask, is why a sysadmin account, is this on a production server or on a test/development box. if you can lower the permissions needed for this user. then what you will need to audit with be smaller.
you can use audits in sql 2008 or in sql 2005, you can use server triggers. but both include quite a bit of work to implement properly.
--------------------------------------------------------------------------------------
Recommended Articles on How to help us help you and
solve commonly asked questions
Forum Etiquette: How to post data/code on a forum to get the best help by Jeff Moden
Managing Transaction Logs by Gail Shaw
How to post Performance problems by Gail Shaw
Help, my database is corrupt. Now what? by Gail Shaw
Post #778101
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.