What is the Process of tracing only Insert and Update command using SQL Profiler

  • Can anyone please tell What is the Process of tracing only Insert and Update command using SQL Profiler. I am using SQL Server 2000 and tracing data for some sequrity issues.

  • You could add a LIKE filter on the TextData column for %insert% and %update%.

    _____________________________________________________________________
    - Nate

    @nate_hughes
  • Make sure you trace the StoredProcedure:StmtCompleted event and not the StoredProcedure:SPCompleted event.

    If you trace the procedure completed, you won't see any inserts/updates within those procedures.

    Also trace the T-SQL:Stmt completed to catch andy batch requests.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • Thanks a lot Sir.........Now it is Working fine.......

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

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