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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auditing and usernames with triggers

Status
Not open for further replies.

j252ewv

Programmer
Jul 2, 2008
43
0
0
GB
Can anyone tell me if and how to deteect whom has executed some sql when the sql is executed from an application. The purpsose of this is to, using a trigger, update an audit file with whom has changed what in the db.
 
Check:
SUSER_NAME()
USER_NAME()
SYSTEM_USER()
etc. in BOL



Borislav Borissov
VFP9 SP2, SQL Server 2000/2005.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top