Solved

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

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 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