Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 7,2000
»
Data Corruption
»
How to repair the table
30 posts, Page 3 of 3
««
«
1
2
3
How to repair the table
Rate Topic
Display Mode
Topic Options
Author
Message
prettsons
prettsons
Posted Sunday, July 29, 2012 10:47 PM
SSC Journeyman
Group: General Forum Members
Last Login: Thursday, May 16, 2013 12:17 AM
Points: 99,
Visits: 1,023
slizam (7/29/2012)
if i restore the last full backup, how about the data since then lost?
In this case, You should use SQL repair software. You can easily search these software on Google:
http://www.google.com/search?hl=&q=sql+repair+software
SQL Database Recovery Expert
Post #1337058
slizam
slizam
Posted Monday, July 30, 2012 10:45 AM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 04, 2012 10:49 PM
Points: 16,
Visits: 106
that is for the demo version only, it just for viewing & cannot take the data unless pay more for it
Post #1337402
GilaMonster
GilaMonster
Posted Monday, July 30, 2012 10:53 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Yesterday @ 4:15 PM
Points: 37,651,
Visits: 29,903
slizam (7/30/2012)
that is for the demo version only, it just for viewing & cannot take the data unless pay more for it
Of course. And some don't work after you've paid either. Buyer beware, they may get something back, they may get nothing back.
But you haven't answered my question about log backups. Do you have any?
If not, with the DB in emergency mode can you query any of the tables?
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 #1337414
slizam
slizam
Posted Monday, July 30, 2012 7:34 PM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 04, 2012 10:49 PM
Points: 16,
Visits: 106
oh, i'm so sorry...forgot to ans it. i have old backup before hard disk failure. i just get mdf & ldf file only after retrieving. i try to set emergency mode but certain table can view correctly & some table show;
"I/O error (bad page ID) detected during read at offset 0x000000f9a70000 in file 'D:\Program Files\Microsoft SQL Server\MSSQL\Data\PMSdb.mdf'."
after viewing. so how to repair it using SQL command?
Post #1337629
GilaMonster
GilaMonster
Posted Tuesday, July 31, 2012 1:54 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Yesterday @ 4:15 PM
Points: 37,651,
Visits: 29,903
It's not repairable. The damage is in the system tables
I suggest you export all the data that you can from the tables that you can query (bcp out or similar) then restore the latest backup that you have. Then you can use the exported data with something like Redgate's SQLDataCompare to get the restored database as close to current as possible.
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 #1337721
slizam
slizam
Posted Tuesday, July 31, 2012 9:25 AM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 04, 2012 10:49 PM
Points: 16,
Visits: 106
yes, i know that the system tables was damaged especially sysindexes & sysindexkeys. the important thing is a data from the main table. what Redgate's SQLDataCompare can do for this? i ever use stella phoenix, kernel, systool & mdfviewer but it just viewing only & cannot export to other file...
Post #1337982
GilaMonster
GilaMonster
Posted Tuesday, July 31, 2012 10:55 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Yesterday @ 4:15 PM
Points: 37,651,
Visits: 29,903
As I said, export what data you can from the damaged database to flat files (use BCP out or just query and copy). Then restore the latest version and use some tool (any tool, datacompare's just the one I know) to sync the restored database with the data you exported.
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 #1338049
slizam
slizam
Posted Thursday, August 02, 2012 2:13 AM
Grasshopper
Group: General Forum Members
Last Login: Thursday, October 04, 2012 10:49 PM
Points: 16,
Visits: 106
how to use BCP out? i never do this b4. can u show the related articles? tq 4 info...
Post #1338997
GilaMonster
GilaMonster
Posted Friday, August 10, 2012 5:10 AM
SSC-Dedicated
Group: General Forum Members
Last Login: Yesterday @ 4:15 PM
Points: 37,651,
Visits: 29,903
Books Online, the section bcp (stands for bulk copy program)
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 #1343291
karrylopez
karrylopez
Posted Monday, September 03, 2012 6:50 AM
Forum Newbie
Group: General Forum Members
Last Login: Friday, April 05, 2013 4:48 AM
Points: 4,
Visits: 2
Hi,
You shoul be try any third party data recovery software for recover your data of SQL.
There are so may software you can select one of them for your information i can recommended you one of them which is "Kernel for SQL Server Repair" you can try this software to repair SQL server.
Post #1353495
« Prev Topic
|
Next Topic »
30 posts, Page 3 of 3
««
«
1
2
3
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.