Home > Ask the SQL Server Experts > Denny Cherry - Performance Tuning Questions & Answers > Retrieve deleted tables in SQL Server
Ask The SQL Server Expert: Questions & Answers
EMAIL THIS

Retrieve deleted tables in SQL Server

Denny Cherry EXPERT RESPONSE FROM: Denny Cherry

Pose a Question
Other SQL Server Categories
Meet all SQL Server Experts
Become an Expert for this site


Expert advice on database administration
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


>
QUESTION POSED ON: 07 December 2007
I created a database 10 months ago with 15 people connected to the server and all running the application. Suddenly an error generated in the application that said "invalid object" and table name. I checked the error and was shocked because the tables were deleted.

I don't know why this is happening in running condition and the SQL Server error log file has no clue about it. I lost all my office data. The mdf file is 109 mb and ldf is 519 gb. The database has no tables. Is it possible? This has happened to me three times and every time I changed my server PC with new Windows and SQL Server installations. What should I do?


>
EXPERT RESPONSE
It sounds like someone is logging into the database and deleting the tables. Take a look at Lumigent's Log Explorer product. This will allow you to look into the transaction log and see who deleted the tables, as well as possibly roll back the transaction. You'll need to either have not backed up the log, or have the transaction log backups handy.

If your database is in SIMPLE recovery mode, there are no products that can recover the data. You will want to evaluate your databases security model. You probably have granted your users too many rights within the database.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Denny Cherry - Performance Tuning
Upgrading to SQL Server 2008 advantages and hardware requirements
Tool to synchronize two SQL Server databases
SQL Server tools don't appear in menu after SQL Server 2005 install
Use SQL Profiler to find long running stored procedures and commands
How to retrieve SQL Server database disk space in use
Troubleshoot SQL Server 2005 temporary table performance problems
Performance tuning for SQL Server 2005 and Exchange running on SBS
Maintain large SQL Server database and resolve website 'Timeout Error'
Upgrade databases to SQL Server 2005 after server upgrade
Upgrade to SQL Server 2005 or SQL Server 2008?

SQL Server backup and recovery
Solve SQL Server errors and more from the DBA trenches -- part 2
Licensing a standby server for SQL Server replication
Can I encrypt and restore a database backup in SQL Server 2005?
SQL Server errors, failures and other problems fixed from the trenches
Get SQL Server log shipping functionality without Enterprise Edition
SQL Server 2008 backup compression pros and cons
SQL Server backups using SAN database snapshots
Tips for scheduling and testing SQL Server backups
Code to restore SQL Server databases in VB.NET
Tricking SQL Server into making full database backups
SQL Server backup and recovery Research

SQL Server security
Implementing security audit in SQL Server 2008
Tutorial: Learn SQL Server basics from A-Z
New security features in SQL Server 2008 leave some work for you
Can I encrypt and restore a database backup in SQL Server 2005?
FAQ: How to troubleshoot and grant SQL Server permissions
Secure SQL Server from SQL injection attacks
How insiders hack SQL databases with free tools and a little luck
Sarbanes-Oxley compliance checklist: IT security and SQL audits
SQL Server source code analysis and management adds database security
Ten common SQL Server security vulnerabilities you may be overlooking

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
rollback  (SearchSQLServer.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



SQL Solutions - SQL Database Design
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2005 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts