Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>>I have a table with a corrupted CDX file. If I try to USE the table, it won't open because it needs the CDX file. Is there a way to open a table without its automatic CDX file, so I can reconstruct the indexes?
>
>
>David, the process that works best for me to recover from corruption is to keep a good copy of all the tables with CDX files but no records. If I get corruption I follow this procedure:
>
>1) Copy the corrupted table and its DBC to a SAVE directory.
>2) Copy the good empty table with its CDX and FPT files to the working directory.
>3) USE the good table and verify that it has no records.
>4) APPEND from the the corrupted table.
>
>Peter Robinson
Thanks Peter, this worked - as I'm sure would the other suggestions. In fact I found that if an empty CDX file is copied over the corrupted one, the DBF can be 'USED' and then I can reconstruct it or issue REINDEX. But it does mean keeping those empty files!
David
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement