Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When is .NULL.= .NULL.?
Message
De
29/07/2000 04:09:16
 
 
À
28/07/2000 14:31:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00398289
Message ID:
00398442
Vues:
22
Hi Ulises.

>> However, the line
If BARCODE = .NULL.
doesn't evaluate as true. Why? <<

One of the best explanations that I heard for this was given by Tamar Granor in a session on SQL back in 1997. She said that you can think of .NULL. as meaning 'I don't know'. So, if you say:

Does "I don't know" equal "I don't know"

The answer would have to be "I don't know"

That's why you should use ISNULL() to check for whether or not something is NULL.

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform