Solved

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

Posted on 2011-02-16
2
319 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
[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
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

623 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