Machine-translated by Google. Questions are authored in English.
Top

Discussion

NULL is

  • A.The same as 0 for integer
  • B.The same as blank for character
  • C.The same as 0 for integer and blank for character
  • D.Not a value

Answer: D

Correct answer: Not a value

NULL means that a value is missing, unknown or not applicable. It is emphatically not zero or a blank string, both of which are perfectly definite values. The consequence is that comparisons with NULL yield unknown rather than true or false, which is why x = NULL never matches and IS NULL must be used instead.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.