I have seen database interfaces (e.g. framework libraries) that return 'null' as a string for null columns. I believe there was a flag that would turn this on or off for debugging. This flag allows developers to easily determine if the empty field was a result of a null value or an empty value. This is a bad setting, especially in production, and would explain the issues explained in the article.

The reverse processing of converting 'null' to a null value should generate an application error for a name field. I would expect this to be rather quickly resolved.

Answer from BillThor on Stack Exchange
🌐
VICE
vice.com › home › when a ‘null’ value happens to be a person
When a 'Null' Value Happens to Be a Person
July 29, 2024 - So, Mr. Null may be prompted to re-enter his name because, to the program, he has not yet done so. This could happen in any number of situations because there are null checks buried in any number of programming frameworks and functions, sometimes quite deeply.
Top answer
1 of 7
42

I have seen database interfaces (e.g. framework libraries) that return 'null' as a string for null columns. I believe there was a flag that would turn this on or off for debugging. This flag allows developers to easily determine if the empty field was a result of a null value or an empty value. This is a bad setting, especially in production, and would explain the issues explained in the article.

The reverse processing of converting 'null' to a null value should generate an application error for a name field. I would expect this to be rather quickly resolved.

2 of 7
24

There's a good chance that a good chunk of your confusion stems from the journalist's. The article talks about problems using entire application systems, not just databases. Completely reasonable since this is a piece of writing aimed at mass consumption, but technical details are glossed over or misunderstood by the author.

Likely a number of these issues are caused at the application layer, rather than the DB's API. Magic values are an anti-pattern which is ridiculously hard to stamp out of the industry. Very easily some programmer could have written a condition along the lines of "someone typed 'null'? They must mean there's no value, because that's what null means!" A misguided attempt at preventing SQL injection could also be responsible for the mentioned mistreatment of Null, or the Hawaiian last name which contains a single quote, which is also the standard SQL string delimiter.

An application which incorrectly transforms these values into NULL or an empty string can easily create errors if business logic or DB constraints expect something different. This naturally results in exactly the frustrating user experience described in the article.

Discussions

Anyone else consider their gender 'null'?
That's literally how many agender people would define it, but you are of course free to use whatever labels you prefer to use for yourself. More on reddit.com
🌐 r/NonBinary
46
190
February 4, 2024
validation - Can a person have null name? - Stack Overflow
I am writing an app that has a sign-up form. This article made me doubt everything I knew about human names. My question is: does a person's name necessarily have positive length? Or can I validate... More on stackoverflow.com
🌐 stackoverflow.com
April 26, 2019
How does a surname of Null cause problems in many databases? - Software Engineering Stack Exchange
I read an article on BBC. One of the examples they said was that people with surname 'Null' are having problems with entering their details in some websites. No explanation is given about the error More on softwareengineering.stackexchange.com
🌐 softwareengineering.stackexchange.com
March 25, 2016
We have an employee whose last name is Null.

Am I the only one who is kind of shocked that this kind of trivial issue exists in such a major library for a well-known technology? (Additionally, some of the 'fixes' suggested are equally scary.)

Making sure a library properly handles 'null' values would seem to be one of the primary test cases...

More on reddit.com
🌐 r/programming
885
3372
November 15, 2013
🌐
freeCodeCamp
freecodecamp.org › news › a-quick-and-thorough-guide-to-null-what-it-is-and-how-you-should-use-it-d170cea62840
A quick and thorough guide to ‘null’: what it is, and how you should use it
June 12, 2018 - The basic rule is simple: null should only be allowed when it makes sense for an object reference to have 'no value associated with it'. (Note: an object reference can be a variable, constant, property (class field), input/output argument, and so on.) For example, suppose type person with fields name and dateOfFirstMarriage:
🌐
Dictionary.com
dictionary.com › browse › null
NULL Definition & Meaning | Dictionary.com
Examples are provided to illustrate real-world usage of words in context. Any opinions expressed do not reflect the views of Dictionary.com. “It’s like realizing you don’t have the title to your home as the market rips higher, that your purchase was null and void.”
🌐
Wiktionary
en.wiktionary.org › wiki › null
null - Wiktionary, the free dictionary
Since no date of birth was entered for the patient, his age is null.
🌐
Merriam-Webster
merriam-webster.com › dictionary › null
NULL Definition & Meaning - Merriam-Webster
1 month ago - Adjective the contract was null because one party forgot to sign it that information is as null as no information at all Verb asked the state court to null the election results because of widespread voting irregularities
🌐
Urban Dictionary
urbandictionary.com › define.php
Urban Dictionary: Null
1. My computer is completely null. There are no files anymore. 2. Twelve Year Old: This video is pretty neato. Hmm what should I comment? *after a minute of intense thought* ..........................
Find elsewhere
🌐
BBC
bbc.com › future › article › 20160325-the-names-that-break-computer-systems
These unlucky people have names that break computers
March 25, 2016 - For Null, a full-time mum who lives in southern Virginia in the US, frustrations don’t end with booking plane tickets. She’s also had trouble entering her details into a government tax website, for instance.
🌐
Reddit
reddit.com › r/nonbinary › anyone else consider their gender 'null'?
r/NonBinary on Reddit: Anyone else consider their gender 'null'?
February 4, 2024 -

So the label 'nonbinary' is one I felt has fit for a while, though it has no meaningful impact on my day to day life. Anyone who knows me IRL has no reason to think of me as anything other than a somewhat GNC cis man, and when it comes to pronouns it's literally 'call me whatever the heck you want' if anyone asked me.

I never thought it of it much beyond that but over time I've realised what 'gender' fits me.

Nullgender.

Not agender. Not linked to male or female in any way. Just not there, like a NULL 'value' in a data set (I work with data sets all the time in my day job).

Not exactly a life-changing revelation, but nice to put a stronger label on it.

Anyone else feel similar?

🌐
Stack Overflow
stackoverflow.com › questions › 55862144 › can-a-person-have-null-name › 55862531
validation - Can a person have null name? - Stack Overflow
April 26, 2019 - In this instance, null would represent you lack data about the name, and an empty string would indicate that user has specified that their name is empty.
🌐
Microsoft Power Platform Community
powerusers.microsoft.com › t5 › Building-Flows › NULL-a-person-field-using-flow › td-p › 878330
Forums | Microsoft Power Platform Community
March 31, 2021 - Quickly search for answers, join discussions, post questions, and work smarter in your business applications by joining the Microsoft Dynamics 365 Community.
🌐
Quora
quora.com › What-does-null-mean-in-messaging-I-sent-someone-a-DM-in-GroupMe-and-at-the-bottom-it-said-read-null-then-when-I-closed-the-app-and-opened-it-again-it-just-said-read-What-does-this-mean-Did-they-receive-the-message
What does ‘null’ mean in messaging? I sent someone a DM in GroupMe, and at the bottom, it said “read (null)” then when I closed the app a...
Answer (1 of 4): Null is a programming term like ‘this space intentionally left blank’ My guess is the program expects to find ‘timestamp’ data there to know when it was read. The first time it dutifully reported ‘null’ the second time around it may have be processed by other code ...
Top answer
1 of 7
103

It doesn't cause database problems. It causes problems in applications written by developers that don't understand databases. At the root of the problem is that much database-related software displays a NULL record as the string NULL. When an application then relies on the string form of a NULL record (likely also using case-insensitive comparison operations), then such an application will consider any "null" string to be NULL. Consequently a name Null would be considered to not exist by that application.

The solution is to declare non-null columns as NOT NULL in the database, and to not apply string operations to database records. Most languages have excellent database APIs that make string-level interfaces unnecessary. They should always be preferred, also since they make other mistakes such as SQL injection less likely.

2 of 7
13

To answer your specific question there are many steps along the chain of events between a web form and the database. If the last name Null is erroneously interpreted as a NULL value then the system may reject a perfectly valid name as being invalid. This can happen at the database layer as explained by amon. Incidentally if this is the specific issue then the database is also probably open to SQL injection AKA the Bobby Tables attack. Another step in the chain that could be causing problems is the serialization process.

Overall the article was about a bigger problem. The world is a big messy place that doesn't always conform to our assumptions. This is especially apparent when you try to internationalize your application. At the end of the day we need to ensure our applications handle and encode our data properly. It is up to the business to decide how many resources we dedicate towards supporting increasingly complicated edge cases. While I fully support being inclusive, I will understand if the business decides that "the artist formally known as Prince" needs to use a Unicode character to represent his name in our database.

🌐
Reddit
reddit.com › r/programming › we have an employee whose last name is null.
r/programming on Reddit: We have an employee whose last name is Null.
November 15, 2013 - What if it's the same one person that everyone keeps running into with the name Null, who is some sort of programming terrorist?
🌐
Laserfiche
laserfiche.com › home › resources › blog
Laserfiche Blog | Latest Trends in Enterprise Content Managment (ECM)
March 18, 2025 - Our team of industry experts cover the latest trends in Enterprise Content Management (ECM) and Document Management Systems (DMS) to keep your business up to date.
🌐
Reddit
reddit.com › r/programming › an actual guy named “null” messes up people's databases
r/programming on Reddit: An actual guy named “Null” messes up people's databases
April 16, 2015 - We upgraded Swig from version x.y.z to version x.y.z+1 and suddenly "null" got converted to a null rather than staying a string. Everything has bugs, but micro version updates shouldn't introduce them. ... I don't know. I see his pointer far too often when programming. ... I'm implementing software at a large university where one person has this last name (Null).
🌐
Fandom
surrealmemes.fandom.com › wiki › Null_Man
Null Man | Surreal Memes Wiki | Fandom
Null Man (aka Void Man) is a Meme Head, presumably a mascot of Exceptional Fresh. Null Man appears to be a humanoid face with pale, white skin. He has a large nose and dull, gray eyes, along with a small grin on his face.