corrupt table index header как исправить

Группа: Участник
Сообщений: 70

Возможно ли восстановление таблицы БД Paradox?
Видимо, некорректно была завершена работа с БД, в результате чего при попытке открытия таблицы вылазит мессага «corrupt table/index header»
Есть ли средства ремонтирования таблиц Paradox’a?

Группа: Администратор
Сообщений: 1190

Возможны 2 ситуации:

1 попортились индексы (индексные файлы .px .XG0, .XG1, YG0 . )
2 повредились сами файлы таблиц ( .db)

1 Сначала попробуйте сделать переиндексацию.
То есть удалите все индексные файлы и проиндексируйте таблицы.
Для этого удобнее всего написать отдельную программу,
которая это делает (через Table1->AddIndex() ).

2 Средство для ремонта таблиц Paradox — сам Paradox
Например Paradox 9, в нем команда «Rebuild»
Но может полностью и не восстановить.

Конечно, перед любыми подобными действиями,
делайте копию базы данных.

Группа: Участник
Сообщений: 247

Еще в Paradox 4 под Dos я делал так.
Удалить, добавить индекс.

Если не помогало.

Делаешь такую-же таблицу и по записям копируешь
начиная с первой записи до ошибки,
потом с первой записи прыгаешь на последнюю и копируешь с
с последней записи до ошибки.

Когда мне это надоело сделал принудительную архивацию таблиц в конце работы программы.

Именно из за этого я бросил рабуту с Paradox.
Очень жаль мне он нравился.

Как можно его отвязать? Удалить сам файл? Как он называется??

Как программно восстановить индексы? Саму ошибку программно поймать возможно.Как сделать, чтобы их вообще не было — и ничего не портилось бы наверно?

В одном старом проекте после 6 лет нормальной работы началась такая же херьня.Данные в Paradox-е не нужны, так как это временное хранилище, из которого далее данные ложатся на SQL Server. Но на клиентах нужны работающие БД на Paradox-е. Как программно восстановить индексы? Саму ошибку программно поймать возможно.Как сделать, чтобы их вообще не было — и ничего не портилось бы наверно?

Hi,
When I try to open one of my paradox tables with Database Desktop i get the following error:
«Corrupt table/index header».
Also when I try to add a new record to that table I get «Key violation».
Anyone know what to do?

Premium Content
Premium Content
  • Facebook
  • Twitter
  • LinkedIn
  • https://www.experts-exchange.com/questions/20970230/Corrupt-table-index-header.html copy

You can try to repair the data with a third party tool like Chimney Sweep.

Ok, don’t have the money to buy it!
Is there any freeware product or any other way I can go?

I don’t know of any free tools; although, there may be some. I thought the 30 day evaluation was free but I see that it isn’t. You could try some of the following:

1) Restore a backup, if you have one — before running any Paradox applications use the repair tool (Paradox repair utility).

2) Open the table using restructure, click PACK and then save. If you can do that, try the repair tool again.

3) Create a new table with the same structure and attempt to copy your data into it using ADD. Then run the repair against the new table.

Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

There is also a website that has some bde repair tools; although, I don’t know how well they work.

They have a Paradox Table Repair Utility.

Whatever you decide to do, I would make sure you have a backup.

Thanks for your help, bwdowhan.
At last I found a data repair utility at Torry’s delphi pages.
The app I found was: Pdxrbld — Paradox tables check/repair utility v.4.41b.
I tried it and it work just fine.

bwdowhan post an comment and you will get the points.

It’s nice when things work. I’m glad you found your solution!

I have got some information from one site.

Other third-party tools (freeware and shareware) for repairing Paradox
tables are available at:

IT issues often require a personalized solution. With Ask the Experts™ , submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.

Оцените статью