We help IT Professionals succeed at work.
Get Started

How can I find the host name, machine name from where a query was executed

Last Modified: 2014-05-19
An update was made on a table in database BAC.  I know the approx time this happened.
I need to find out from which machine this  query was made.

The issue is we all use the same userid/password to log in. So the SSID does not help.

I looked into the transaction logs but was not successful. I do have sa privileges.


    fn_dblog(NULL, NULL)
WHERE    [Operation] = 'LOP_BEGIN_XACT'
    AND [Begin Time]  >= '2014/05/07 05:35:23:053'
 AND [Begin Time] <= '2014/05/07 06:35:23:053'
Watch Question
Database developer
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE