Re: What does this NULL mean?




Eric Junkermann ha escrito:

> The number of long threads about NULLs indicates that they are a source
> of difficulty and disagreement.

Nulls are a big source of problems. I have found and corrected hundreds
of bugs caused by nulls in a single application, and this is quite
irritating.

> ... If my Manager points to a NULL in a report, I don't say 'That is a
> NULL.' I say something like 'That customer is retired, and does not
> have a work address' or 'The user left that field blank.' That is if I
> am familiar with the data. If I am unfamiliar then the NULL tells me
> nothing, I can only shrug my shoulders and say 'Sorry, I don't know.'

A report must not have nulls.

I have never seen a null in a report, only blank spaces.

> The best way to look at a NULL is as a sort of denormalisation.

I think that the best way to look at a null is as a sort of corruption
or a botch-up. Relations and nulls are incompatible.

On the other hand, denormalization is a sort of flawed database design.

> If we
> have a table X {A, B, C} where A is the key, B is a column we are not
> currently interested in, and C is the column which is NULL in at least
> one row, then we are really talking about two tables X1 {A, B} and Y {A,
> C}, where at least one row in X1 does not have a corresponding row in Y.

Indeed, nulls are nothing but a dirty botch-up to improve performance
with primitive database systems.


Regards

.



Relevant Pages

  • Re: Access SQL Date Sort Help
    ... > AS due_date FROM problems as p ORDER BY p.priority DESC, due_date ASC ... if I sort DESC I get ... > hide that far out date w/ ASP when writing) it would work but it didnt. ... nulls would push to the bottom of the list. ...
    (microsoft.public.access.forms)
  • Re: Query sort not working after NULL column
    ... so the NULLs is not a factor. ... that query sorts correctly, so the problem is related to this query not the ... Provide some sample data where the sort isn't working right. ... Jerry Whittle, Microsoft Access MVP ...
    (microsoft.public.access.queries)
  • Re: Query sort not working after NULL column
    ... I changed that column to be zeros instead of Nulls and it still sorts the ... "Michel Walsh" wrote: ... the end of the sorted data. ... Is this correct or should it sort column ...
    (microsoft.public.access.queries)
  • Runaway use of Nulls
    ... I have a table that is filled with nulls and includes calculation ... Field 1 is a Work Breakdown Code ... as Work Breakdown Codes as text fields do not sort well. ... looks like Field 1 and thus get rid of the calculation, ...
    (microsoft.public.access.tablesdbdesign)
  • Re: is null acending or descending?
    ... You can change the way nulls sort by adding a calculated field to your ... You can then sort Ascending or Descending on this yes/no value to determine ... Candia Computer Consulting - Candia NH ... it's quite a complex report so i figure there is something undeath i ...
    (microsoft.public.access.reports)