audit not show values from updates

  • Hello,

    I configured my SQL Server 2000 with Audit C2 option and work fine. But I want see what happen in a UPDATE, I only saw:

    UPDATE field1=@1, field3=@2 FROM foo WHERE field2=@3

    however in SELECTs it is working fine:

    SELECT field1, field3 FROM foo WHERE field2=123

    why I can't see the values in UPDATES? such as:

    UPDATE field1='newvalue1', field3='newValue2' FROM foo WHERE field2='oldvalue1'

    Thanks

  • It depends on how the update is submitted. Lots of applications use parameters and an sp_executesql call.

    You might need to look at the activity from this connection before this statement.

  • Steve Jones - Editor (7/8/2010)


    It depends on how the update is submitted. Lots of applications use parameters and an sp_executesql call.

    I use pyodbc, I'll see how it work

    Steve Jones - Editor (7/8/2010)


    You might need to look at the activity from this connection before this statement.

    Who I can do it?

    Thanks

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

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