Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compound Index
Message
De
14/08/1997 06:08:28
 
 
À
14/08/1997 01:37:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00044576
Message ID:
00044587
Vues:
38
>Hi all,
>
>I have a compound index on the following expression, cnoee+DTOS(dtrans)+cdtrans where cnoee is Employee #, dtrans is date and cdtrans is code. Is there any way I can do descending on dates but acending on the others? Presently I can only think of using a large number to minus DTOS(dtrans). Any other way?
>
>Thanks.

Farouk,

Try this. 'index on cnoee+STR({12/31/2099}-dtrans)+cdtrans'. Please let me know if this is successful.

Good Luck,

Bill Chadbourne
wchad@ime.net
William Chadbourne
Senior Programmer/Analyst
State of Maine - DAFS App Team

Oracle - When you care enough to use the very best!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform