Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Advertise
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
»
Audit
Audit
Rate Topic
Display Mode
Topic Options
Author
Message
samsql
samsql
Posted Sunday, November 29, 2009 11:16 PM
SSC Veteran
Group: General Forum Members
Last Login: Thursday, March 11, 2010 3:35 AM
Points: 225,
Visits: 413
Hi all,
we are useing sqlserver 2008
i have one login dttl has sysadmin rights for which i want to enable audit log for every thing which is done by this user
i dont want to enable it for all the logins
thankz
Post #826017
samsql
samsql
Posted Monday, November 30, 2009 3:39 AM
SSC Veteran
Group: General Forum Members
Last Login: Thursday, March 11, 2010 3:35 AM
Points: 225,
Visits: 413
waiting for the revert please reply....
Post #826100
Steve Jones - Editor
Steve Jones - Editor
Posted Monday, November 30, 2009 10:20 AM
SSChampion
Group: Administrators
Last Login: Today @ 5:02 PM
Points: 23,164,
Visits: 6,924
You can set up a trace for this and filter it by selected logins. Or you might be able to use the SQL 2008 audit feature:
http://msdn.microsoft.com/en-us/library/dd392015.aspx
Post #826352
Elliott W
Elliott W
Posted Monday, December 07, 2009 6:52 PM
SSCrazy
Group: General Forum Members
Last Login: Today @ 3:16 PM
Points: 2,406,
Visits: 1,869
samsql (11/29/2009)
Hi all,
we are useing sqlserver 2008
i have one login dttl has sysadmin rights for which i want to enable audit log for every thing which is done by this user
i dont want to enable it for all the logins
thankz
Depending on what version of SQL 2008 you are using depends on whether you'll be able to use Steve's suggestion. Only Enterprise (and developer) have the audit features. Otherwise you could setup a server side trace and set a filter on that user alone. You can set it to trace any events you want.
You might look into these commands:
sp_trace_create
sp_trace_setevent
sp_trace_setstatus
CEWII
--------------------------------
Having trouble figuring out what jobs are running in SQL Server at the same time.
Try
Sql Job History Visualization
It lets you view your SQL Job history on an Outlook style calendar..
Post #830359
« 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-2010 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use