Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can an index be temporary?
Message
From
30/01/2003 16:19:05
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00747109
Message ID:
00747417
Views:
19
>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform