Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to log a user's IP

Status
Not open for further replies.

albatross68

Programmer
Sep 19, 2008
3
GR
We would like to log modifications (inserts/updates/deletes) on a table.

Because some application that access the database through ODBC connect using the same username and password we need to distinguish who did each modification using something other than the username.

We thought of using the user's IP address, but we can't figure out how to get this information in a trigger.

Any suggestions?

Suggestions of other information that we can use instead of the IP address are also wellcome.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top