Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
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: Yesterday @ 8:36 AM
Points: 40,615, Visits: 37,080
Restore from backup.


Gail Shaw
Microsoft Certified Master: SQL Server 2008, MVP
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: Thursday, November 6, 2014 8:19 PM
Points: 121, Visits: 1,251
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: Monday, December 8, 2014 1:45 AM
Points: 5,221, Visits: 5,120
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
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: Yesterday @ 2:35 PM
Points: 12,962, Visits: 32,498
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

--There is no spoon, and there's no default ORDER BY in sql server either.
Actually, Common Sense is so rare, it should be considered a Superpower. --my son
Post #1332127
Posted Thursday, September 6, 2012 2:28 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, November 24, 2014 11:01 PM
Points: 18, Visits: 446
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