Identify the machine name and IP address

  • Is there a way to identify the machine name and IP address of someone in SQL Server? I want to write a trigger that capture

    who (machine name and IP) deleted a record. I also want to pass the machine

    name and IP address from to a stored procedure.

  • Select Net_Address,NT_Username,Hostname

    From master..SysProcesses

    Where Spid=@@Spid

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply