Solved

SQL Server Data loss

Posted on 2008-10-16
4
419 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
4 Comments
 
LVL 45

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how the fundamental information of how to create a table.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now