Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

How to recreate lost tables. Expand / Collapse
Author
Message
Posted Tuesday, July 10, 2012 4:09 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Thursday, September 6, 2012 1:33 PM
Points: 8, Visits: 29
My database tables are missing after a virus infection. How can I repair and recreate missed table from database folder.
when attached the .mdf and .ldf file, only dbo.sysdiagrams table is there.how can I retrieve the other tables.

please help me in the topic.

Thanx
Post #1327389
Posted Tuesday, July 10, 2012 4:15 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 8:20 AM
Points: 44,755, Visits: 42,642
Restore from backup.


Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1327396
Posted Thursday, July 19, 2012 3:46 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Tuesday, June 21, 2016 4:01 AM
Points: 167, Visits: 1,365
najeeb_kt2000 (7/10/2012)
My database tables are missing after a virus infection. How can I repair and recreate missed table from database folder.
when attached the .mdf and .ldf file, only dbo.sysdiagrams table is there.how can I retrieve the other tables.

please help me in the topic.

Thanx


Agree with GilaMonster first try to restore database from updated backup.
If you don't have backup then try third party SQL repair software. You can easily Google these software just like this:
http://lmgtfy.com/?q=sql+repair+software


SQL Database Recovery Expert
Post #1332040
Posted Thursday, July 19, 2012 3:52 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Wednesday, June 22, 2016 4:33 AM
Points: 5,969, Visits: 6,061
Based on the OP's first post on this here they dont have backup's, that is if its the same database in question.



Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1332045
Posted Thursday, July 19, 2012 6:28 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 8:14 AM
Points: 14,413, Visits: 37,707
repair softwork doesn't seem to work when it comes to SQL Server, because the file is always open;
it's kind of like opening a word file;
you may edit for hours, but unless you saved it, if you erase stuff in the middle of the document, there's no where those changes are saved, and are not recoverable at all. neato software or not.


Lowell

--
help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!
Post #1332127
Posted Thursday, September 6, 2012 2:28 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, March 4, 2016 10:00 PM
Points: 18, Visits: 504
Restore from backup:
1) Restore in dev enviroment
2) Script out the table
3) Create that table in Prod enviroment.
3) Import all data from Dev table.
Post #1355111
Posted Wednesday, December 5, 2012 12:10 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, December 5, 2012 12:06 AM
Points: 4, Visits: 3
To recreate lost tables. use sql database repair software, many data recovery companies offering this software and also providing a free trial version of software. One of this utility you can download from here:

http://www.repairsqlserver.net

Thanks
Post #1392808
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse