Web Development

I recently was in a situation where I needed to differentiate the null and blank. Here are some differences if you are in the same situation.

Blank

  • It is often an empty string but used also on other data types
  • It still has value

Null

  • It is the absence of a value
  • In database terms, it can be used for string, integer, blob and others