Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using TTOC in an index
Message
 
 
To
29/07/2008 11:06:11
Chris Sund
Silhouette Solutions
Utah, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01318068
Message ID:
01335084
Views:
13
Hi Chris,

The indexes on a table and on a view are two separate issues. You would usually add indexes to a table to make query against it optimizable. The indexes on a view usually are used to display it in a grid in different order.


>At first it seems I was creating the index on both the source table and the view. I was trying to create an index that I could use to sort my records into "entry order" rather than using the PK value. I didn't realize I had created an index for both the base table, and the view. I don't know what standard protocol is, but creating one for both seems redundant, and probably isn't a good idea.
>
>The index expression is simply "datetime"
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform