Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6.0 Optimize SQL
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00352764
Message ID:
00352876
Views:
11
>>I did break it down in to more than one sql but that didn't work either.
>
>You are saying that just doing this part:
>
>select dam1, yr_bred, name, sex, sire1, booked_to, last_bred, p_b, date_foal, date_died, cause_deat, ;
>price_sold, buy_name, age_rec, life_earn, cl from master where category = "F" into...
>
>still gives a None level, when you have an index on category?

Bruce,

You're right, I looked at my cdx and realized that the index tag was combined (category + type), not individual.

As soon as I added two separate tags, one for category and one for type and ran the same sql the results appeared in 1/4 the time (10 seconds instead of 40), and the sys(3054,11) returned full optimization.

Now I know the tags need to be individualized to the where clause.

Thanks to everyone,

Jim Harvey
jharvey@netrax.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform