title: Access sql that triggered the trigger from within trigger (Sybase)
body: <p>Is there a way to access the sql that triggered a trigger from within the trigger?  I've managed to get it by joining to the master..monProcessSQLText MDA table but this only works for users with the mon_role and I don't want to give that to everyone.  Is there a global variable I've missed?</p>
  
  <p>I'm trying to log all the updates run against a table so I can trace it back to an IP address and username.</p>
  
  <p>This is with ASE 12.5.</p>