Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best PACK in the Industry!
Message
 
 
To
23/04/2002 11:04:30
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00648168
Message ID:
00648208
Views:
17
>Hi Doug
>
>Does SDT delete all tags, PACK and then recreate the tags when a PACK is requested?
>
>Since a PACK does a reindex and since the tags may be corrupted, its obvious reindex cannot be trusted. So I figure it would be practical to destroy the tags, pack and use metadata to reindex.

What he actually does for a PACK is use SQL to create a new temp table of undeleted records. If that works, he deletes the original table and associated files if any [CDX and FPT]. Renames the temp table to the original table name then recreates the indexes, PK, FK, and any other table property found in the meta data.

If there is a PK on the table, he uses that as the ORDER BY in the SQL
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform