Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rushmore
Message
De
13/06/2000 16:42:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Rushmore
Divers
Thread ID:
00380015
Message ID:
00380015
Vues:
58
I have a table with fields
AGENTCODE C 6
CTRL_NUM N 6
.
.

and an index tag using the expression
AGENTCODE + STR(CTRL_NUM,6)


(1) Are there any settings which would make a query such as
SELECT * FROM myTable ;
WHERE agentcode = "XXXXXX"

be optimizable??

(2) If an alias is used in a WHERE clause, will Rushmore be able to recognize it??? Assuming a second table with the same index tag would

SELECT a.* FROM Table1 A, Table2 B;
WHERE (a.agentcode+STR(a.ctrl_num,6) = (b.agentcode+STR(b.ctrl_num,6)

be optimized?

Thanks.....Rich
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform