capture application login in sql server trigger

  • Is it possible to capture application user in delete trigger?

    We are trying to use sql server delete trigger to audit physical deletes issued from java application. My problem is how can I capture applicaiton deleted by user in sql trigger???

  • Just a guess, what about something like one of these?

    select suser_sname(), suser_name()

    -- Cory

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply