Solved

Automatically deleted records from the sql server 2000 on my window server

Posted on 2011-02-16
2
307 Views
Last Modified: 2013-12-05
Hi
 i need help on this please i used to be around 1150 records in my one table in the sql server 2000 on my window server next day i saw this they were around 530,
So plz tell be how this is happened  and also solution for this..
I not even deleted those records neither anyone else.....

SO please reply me  with the reason and also solution..
And whether shud i use stored procedures instead of inline queries to overcome this problem.???  
0
Comment
Question by:highlander_1969
2 Comments
 
LVL 5

Accepted Solution

by:
rdhoore108 earned 500 total points
ID: 34932644
Records do not delete themselves, they are deleted only as the result of a query (through software or by an operator), or by deleting them manually through the database manager interface.

Most likely someone has entered a query that did not limit the scope of their action enough.

You may want to set up a schedule of nightly backups, so that you do have backups of your database. Backups are so very important, as you have unfortunately found out the hard way.

0
 
LVL 13

Expert Comment

by:SagiEDoc
ID: 34958378
If you are using a web interface to connect to the database someone could have used a SQL injection to remove the records. To overcome this you would need to rewrite all your SQL querries to run at the server and not be passed via the address bar of the remote browser.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

831 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