Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any side effects in allowing NULL?
Message
De
31/03/2012 10:24:32
 
 
À
31/03/2012 09:35:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01539772
Message ID:
01539909
Vues:
61
>>>As Janis points out, nulls in and of themselves do not cause errors. Not handling them properly causes errors.
>
>Errors can occur in code where NULL's exist that could have not occurred had NULL's not existed. That's not disputed.
>
>NULL's really add no appreciable value. That might be disputed, but there was some pretty good code written before NULL's were on the scene, so we obviously can live nicely without them.
>
>If NULL's add no appreciable value (and in my judgement they don't) and can cause problems then my practical nature tells me that it's a lot more efficient to live without them, so I do.
>
>The question isn't can you deal with them.. rather it's why bother when you don't have to?

Question:
Table with fields for Name, Age.
What do you put in the Age field when you don't know the age?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform