How are NULLs stored in a database?

后端 未结 5 787
野性不改
野性不改 2021-01-04 11:25

I\'m curious to know how NULLs are stored into a database ?

It surely depends on the database server but I would like to have an general idea about it.


5条回答
  •  北荒
    北荒 (楼主)
    2021-01-04 11:57

    The server typically uses meta information rather than a magic value. So there's a bit off someplace that specifies whether the field is null.

    -Adam

提交回复
热议问题