Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very slow Validate Database
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00743332
Message ID:
00743808
Views:
11
Hi Bob.

>VALIDATE DATABASE will run whether it's open SHARED or EXCLUSIVE, it just won't do the rapair if its not exclusive.

I wouldn't use VALIDATE DATABASE inside an application. It doesn't really do any repair (or at least not much). It's definition of "repair" for most types of damage is to ask the user if they want to remove the offending item from the database. First, that's not a dialog I want my users to see. Second, while removing a table from the database may make the DBC valid, it sure can hose the table and parts of your application that expect to use the table.

VALIDATE DATABASE is really something you should use when you get errors indicating that something is wrong with the DBC and you are prepared to spend some time cleaning up *after* VALIDATE DATABASE has completed.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform