Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can an index be temporary?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00747109
Message ID:
00747415
Vues:
22
>>To avoid problems with multi-user access, a temporary index should not have a fixed name. Assign sys(2015) to a variable, create the index with that name, and delete it later.
>>
>>Hilmar.
>
>Yes we use a tempname function with the random generator function to ensure unique(well close to unique) idx name.
>
>Einar

Another thing is that such temporary indexes may be created on the user's local drive instead of application directory on the network. That simplifies the uniqueness problem - SYS(2015) is enough - and kind of speeds up the indexing. Also, the application on quitting may just wipe out all temporary indexes on local temp directory at once.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform