[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

SQL Server Data loss

Posted on 2008-10-16
4
Medium Priority
?
430 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
2 Comments
 
LVL 53

Accepted Solution

by:
Vitor Montalvão earned 500 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 500 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

873 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