SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Log User Access to Server and Database
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

35 Posts

Posted - 08/13/2013 :  11:12:07  Show Profile  Reply with Quote

is there way, to find out which client is connecting via Linked Server to a specific database and with specific UserID?
>> audit for select-activity in Database
The user no longer exists (Real Employee !! :( , and therefore it must be deleted on the SQL server. However, there are applications in our Companie that have deposited in the connection string with the user password (also odbc-connect and Views).

We have a lot of tables in this Database, and we cannot put a Trigger on each table. And if the User sends a "SELECT"-Statement, the Trigger doesn't fire.

Thank you


Edited by - gpc44 on 08/13/2013 14:08:38

Constraint Violating Yak Guru

352 Posts

Posted - 08/14/2013 :  08:58:19  Show Profile  Reply with Quote
Look at audit trace. sp_trace_create
Not sure if that will get you what you want but it might.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000