Points: 7553

10/13/2017 1:40:17 PM

Log SA access and send an email

* This article, and all our great SQL (Dynamics) documentation, Is available on the SQL (Dynamics) menu

A client has reported that someone is entering a setup form and editing something as the 'sa' user, and asked if there is any way to track it. 

I'd be interested if your approach would have been different than mine, feel free to chime in.

The script below will email every time a user logs on as the 'sa' user and report the machine name that they logged in from


Version: All
Section: SQL Scripts
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables