cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get data from a corrupt table?

Former Member
4,818

I have an production database that is inconsistent. Actually it just affect one table (a big table with about 37kk rows). If I try unload it, I got an error. If I try to select with an order by, I got an error. Using select * from table an then export data, I can get about first 15kk.

On this link, I show you output log this message https://www.evernote.com/shard/s39/sh/b3705200-255f-4bd0-bf0f-b3b1431420c7/519df905b680e068a87d2d9a0...

I need to recover this data since it holds some government info that I need to store for 5 years. As I know all my backups are corrupted too.

Please, help me!!!

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member

Place a call with technical support. The support team has some tools that offer at least the possibility of salvaging the data in your database, if they cannot work around the corruption problem in some other way.

Breck_Carter
Participant

Sadly, SQL Anywhere doesn't have any tools for dealing with corrupted data.

Since you can run a SELECT * to get the "first 15K", perhaps you can figure out another "SELECT * WHERE some-column > some-value" that will give you the data on the other side of the bad page.

Good luck!

Former Member
0 Kudos

Try SQL Database Recovery retrieves all data stored within SQL server .MDF files such as tables, triggers, views, stored procedures with damaged unique keys, primary keys and foreign keys. Deleted files are also successfully recovered and saved in a separate batch file for further use.

MarkCulp
Participant

How does this answer apply to the question? Zote is not using SQL Server, he is using SQL Anywhere!