When I create the trigger and run the application and make some update and insert, Instead of sql commands, it is showing sp_prepexec;1 and sp_executesql;1.
I need the Each insert and delete command should store my logtable instead of sp_prepexec;1 and sp_executesql;1..
Please help me if any other way to trace all insert, update and delete statements in a Database.