Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Slow
Message
From
07/07/2008 08:59:37
 
 
To
07/07/2008 06:59:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Slow
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01329335
Message ID:
01329376
Views:
15
>which index tags do you have for yoru table x2 ? i have no index i use index only via code
>index on f1 tag f1...f1 unique
> INDEX on f4 TO kk

BTW, as you are not too firm on some vfp points, perhaps you should reread the parts on what behaviour "unique" causes if used in an index. In most applications "candidate" or "primary" are needed to *enforce* uniqueness of the entry in the table. "Unique" is often helpful as a fast way to walk distinct entries (a fast way to Group By), which admittedly is the use here.

And unless the x2 table gets recreated very often, define the indices once as a structural index AND LET THEM STAY ON THE DISK.

regards

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform