Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CLOSE INDEXES close structural indexes!
Message
From
23/12/2007 12:39:43
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
23/12/2007 12:35:37
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01277227
Message ID:
01277249
Views:
24
>>>>>You can use cdx also for temp indexes.
>>>>>Index on yourfield tag yourfield of tempcdx
>>>>
>>>>Wouldn't that require exclusive access to the table?
>>>
>>>Not if the name of the tempcdx file is unique, or not in use by other users.
>>
>>Oh, so you are suggesting to use non-structural CDX files. That may work. I tend to confuse "CDX" with "structural index" (the always-open CDX file that has the same base name as the table), since that is usually the only one I use.
>>
>>I suppose, then, that these temporary CDX file would have no problems with transactions, etc.?
>
>That's how I understand it. From help: All IDX index files (non-structural, or non-CDX based, indexes) must be closed during transactions. Only structural indexes are supported within transactions.

This part of the help looks contradictory. It looks as if some experimenting is required.
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