No Value for a Column Name
Another circumstance that needs to be accounted for is what happens when there is no value under a column name. Such an occurrence is fairly common.
There are at least two ways to handle this circumstance:
- 1. If no value is present, define a null value (such as “NULL”).
- 2. Simply omit the column name and value from further processing. In this case there are no mentions anywhere of the column name.
Neither of these options is preferable over the other. The selection of one or the other option depends entirely on the nature of the data. In some circumstances, one option is preferable; in other circumstances the other option is preferable.