Logging IP of client machine

  • Is there any way to log the IP address of client machine that is accessing the database server, through T-SQL.

    Regards

    DBDigger Microsoft Data Platform Consultancy.

  • Try using

    xp_cmdshell 'netstat -an'

    xp_cmdshell 'ipconfig /all'

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

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