Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any side effects in allowing NULL?
Message
De
30/03/2012 15:17:34
 
 
À
30/03/2012 15:12:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01539772
Message ID:
01539868
Vues:
53
>When I designed lab result tables, there was one row per value; measurements not taken didn't even have a record. However, I've seen tables with dozens of numeric fields describing various parameters measured or calculated. There should be at least a byte-mapped character field where each byte would be the status of the corresponding field (a technique not too different from bit-mapped fields, and actually similar to how Fox knows which field is null). But in the case of the current table design, it's either allowing for nulls or doing a lot more coding.

Ok, this seems like specific application requirements. I also have a Bit fields here and there. Default value goes to False meaning that it hasn't been processed or accepted, for example. Other related fields would then serve to know more about it such as the date processed.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform