Solved

SQL Server Data loss

Posted on 2008-10-16
4
424 Views
Last Modified: 2012-08-13
hi experts. I have an sql table from which data is randomly deleted.  the application that I use to insert data into this table does not have any delete command on this table. I was using sql 2000 on server 2003, but now have changed to sql 2005 on server 2003, the problem still occurs. I have put in a trigger on the table which copies the deleted row to another table and surely, deleted records are being sent to this table. What could be causing these deletions. Any ideas?
0
Comment
Question by:sigallie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 49

Accepted Solution

by:
Vitor Montalvão earned 125 total points
ID: 22729312
In that trigger add the user and datetime for the deleted row. You might have a clue after analyze those records.
0
 
LVL 21

Assisted Solution

by:Kevin3NF
Kevin3NF earned 125 total points
ID: 22729972
Setup a server-side profiler trace with that table name in the textdata filter.  Easier to do if you can find a time when records tend to get deleted.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I find this data? 3 23
SQL Select Query help 1 34
Access #Deleted data 20 37
Options for Linking SQL tables to Access 2013 9 31
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question