Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can an index be temporary?
Message
De
30/01/2003 16:19:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
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:
00747417
Vues:
21
>Yes we use a tempname function with the random generator function to ensure unique(well close to unique) idx name.

OK. This function may already be working correctly. But in case you want to review it, one thing you can do is use the sys(2015) function. Another option is to use a GUID. This latter option is guaranteed not to be repeated anywhere in the World, on machines with a network card, but if you use the hexadecimal representation of the GUID, it will create a filename 32 characters long.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform