Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 149809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:11:22+00:00 2026-05-11T09:11:22+00:00

This may seem like a dumb question, but I’m in a head-> wall situation

  • 0

This may seem like a dumb question, but I’m in a head-> wall situation right now.

I work on a massive ERP application in which the SQL Server 2005 database is updated by multiple disparate applications. I’m trying to figure out where the deletes in a particular table are originating from.

I tried using the Profiler but I’m not able to filter the event types enough to be able to identify the errant SP because there are so many hits to the database every second from various quarters. Also the Profiler seems more directed to finding DDL changes or Object DROP type actions.

I’m simply trying to answer the question: What Stored Proc. or SQL query caused a record to be deleted from Table X?

What tool should I use? I was hoping to avoid something like Trigger based Auditing. Or is the Profiler the best tool for this sort of investigation? Or are third-party tools the only resort?

Please provide any helpful links you can because I’m relatively unfamiliar with this topic.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:11:23+00:00Added an answer on May 11, 2026 at 9:11 am

    Finding the culprit with profiler could be like finding a needle in a haystack, especially on a busy system; if you can’t find it with filters like edosoft suggests, try to minimize the noise by eliminating statments with writes=0, filter by application name, filter by textdata not like ‘%select%’; you should be able to get it narrowed down.

    If you’re really desperate, you could deny delete permission to all users on the table and wait for the phone to ring.

    You could also run occassional SELECT COUNT(*) on the table into a work table with timestamps and try to correlate any drops in record counts to other activity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may seem like a dumb question, but can an app build with c#
This may seem like a daft question, but i was wondering about how to
This may seem like a somewhat contrived example, but I'm left scratching my head.
Ok, this may seem like a stupid question (for Flash Developers) but I really
I am new to Android, so this may seem like a basic question. But
This one may seem like a simple question, but it's really got me scratching
This may at first seem like an odd question, but when a cin request
This may seem like a programming 101 question and I had thought I knew
This may seem like a stupid question, so here goes: Other than parsing the
I'm learning Qt independently, and this may seem like an easy question (because it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.