Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to access rushmore optimization using lv & MM?
Message
De
29/03/2001 16:36:34
 
 
À
29/03/2001 14:57:39
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00490019
Message ID:
00490078
Vues:
10
Say I have a table with an index that is built from 4 fields. These fields are alpha, mixed case. The index key puts the function lower on them and only uses a substr of the first 40 characters of the last field in the index. Using the view builder the fields have to be listed one at a time, you can't bracket a list of all of them in a function statement, etc. Plus I only need to seek on the first two fields in the index but to make rushmore function you must compare what you're seeking to the entire index key. Below is the code that i'd iuse. How would you mimic it using only views?

*** This is a Rushmore optimized select:
*** Key is the index key definition, if I were programming I'd actually
*** get this defination by settin the table order
*** to this tag and using the key() function

ckey = lower(subject+author+title+left(subtitle,40))
csubject = "ref"
cauthor = lower("Jones")
select * from title where &ckey = cSubject+cAuthor
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform