Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help forming field value
Message
 
À
01/03/2000 15:34:05
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00340063
Message ID:
00354008
Vues:
20
>sum(a.tvol)-NVL(sum(b.totcxlvol),000) as tvoladj;
>or
>NVL(sum(a.tvol)-sum(b.totcxlvol),sum(a.tvol) ) as tvoladj;
>
>Which syntax is better?
>
>I was wondering if the duplicate occurance of "sum(a.tvol)" was a performance killer.

Michael,

Without testing it I would go for the former. Less function calls are usually faster than more function calls.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform