On SQLite, I displayed the table "user" as shown below but "Null" is not displayed so I cannot differentiate between "Null" and Blank(Empty String):
sqlite> .header on
sqlite> .mode box
sqlite> select * from user;
┌────┬─────────────────┐
│ id │ name │
├────┼─────────────────┤
│ 1 │ Steve Jobs │
│ 2 │ │ <- Null
│ 3 │ │ <- Null
│ 4 │ Bill Gates │
│ 5 │ │ <- Blank(Empty String)
│ 6 │ Mark Zuckerberg │
└────┴─────────────────┘
Are there any ways to display "Null"?
This command below can set what to show for
NULLvalues:So, set
NULLas shown below:Then,
NULLis displayed forNULLvalues as shown below:Next, set
This is NULL.as shown below:Then,
This is NULLis displayed forNULLvalues as shown below:And, these commands below can show the details of the command
.nullvalue:Or:
Then, this is how it looks like below: