SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
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  

gpc44
Starting Member

35 Posts

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

is there way, to find out which client is connecting via Linked Server to a specific database and with specific UserID?
(UserID?...ClientID?...Date?)
>> audit for select-activity in Database
Background:
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

BEST REGARDS
Nicole

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

djj55
Constraint Violating Yak Guru

USA
317 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.

djj
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