Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Machine name in Audit Trail

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-12-21 : 09:36:02
Prakash writes "In audit trail how to catch the machine name from which changes are done (insert,update,delete). Any built in function?"

smccreadie
Aged Yak Warrior

505 Posts

Posted - 2001-12-21 : 09:47:55
You don't say what client people are using, but usually you can grab an IP address and use that. If you're using asp, look up Request.ServerVariables.

Go to Top of Page

izaltsman
A custom title

1139 Posts

Posted - 2001-12-21 : 10:03:51
You could try using HOST_NAME() function.

Go to Top of Page
   

- Advertisement -