Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I need help with null values
Message
 
 
À
07/08/2001 20:13:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00540860
Message ID:
00541076
Vues:
32
>Why not test to see if all f1 are NULL first, if so make x NULL, otherwise calculate the average and assign it to x?
>
>>Thanks for the suggestion Nadya. The SQL result is what I'm looking for but unfortunately, I have to get the results from a buffered view and so it seems as if I'm no further ahead! Sigh....

It would mean a scan for the whole file :( Say, file has 500000 records and all f1 values are null. Is there a simple way to determine, if all records are null or not? I don't see a way except for scaning the whole file... :(
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform