Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Index Does not match the table
Message
 
 
À
27/01/2023 11:18:28
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01685987
Message ID:
01685993
Vues:
32
>>>>Hi,
>>>>
>>>>Today while reviewing the error log of one of the customers I see the following couple of errors:
>>>>
>>>>Failed TABLEUPDATE() of WORK_HIS
>>>>Index does not match the table. Delete the index file and re-create the index.
>>>>
>>>>
>>>>This customers is using a SQL Server database.
>>>>
>>>>I have never seen this error.
>>>>1. What would cause it (as I understand in SQL Server)
>>>>2. How do I find out which Index is the problem (the file has several indexes)
>>>>3. How do I delete and reindex a SQL Server table?
>>>
>>>Haven't had this one since 1994.
>>>
>>>Somewhere along the way you indexed a cursor and gave the index a name, which became also its filename. Your app crashed, or you did this in two places at the same time, with different cursors. The index was found on disk, and its name now matches the alias of something else. Bang.
>>>
>>>If you mean to name a cursor's index, use sys(2015).
>>
>>First, thank you for your quick reply.
>>
>>So, if I understand you correctly, this is a problem with the VFP cursor, not SQL Server per se, right?
>
>Sure is. VFP wouldn't know anything about the SQL side indexes, they are internal to the server. And if the server reported, you'd have an ODBC error, not VFP error.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform