Click here to Skip to main content
15,917,610 members
Articles / Programming Languages / SQL

How I Learned to Stop Worrying and Love NULL in SQL

Rate me:
Please Sign up or sign in to vote.
4.67/5 (2 votes)
22 Apr 2021CPOL5 min read 9.9K   4  
Write your query in a way to overcome the limitations of NULL rather than avoid using it.
The appropriate SQL function should be used to avoid getting undesired output for operations such as data concatenation, comparison, ORDER BY, or GROUP BY. You should not try to prevent NULL values - instead, write your query in a way to overcome its limitations.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Technical Writer Arctype
United States United States
Download our free SQL editor at https://www.arctype.com
This is a Organisation

3 members

Comments and Discussions