
Null (SQL)
In SQL, null or NULL is a special marker used to indicate that a data value does not exist in the database. Introduced by the creator of the relational database model, E. F. Codd, SQL null serves to fulfil the requirement that all true relational database management systems (RDBMS) support a representation of "missing information and inapplicable information". Codd also introduced the use of the lowercase Greek omega (ω) symbol to represent null in database theory. In SQL, NULL is a reserved word used to identify this marker.
- Align
- encenter
- Caption
- enThe Codd table Emp may represent the relation EmpH22 or EmpH37, as pictured.
- Comment
- enIn SQL, null or NULL is a special marker used to indicate that a data value does not exist in the database. Introduced by the creator of the relational database model, E. F. Codd, SQL null serves to fulfil the requirement that all true relational database management systems (RDBMS) support a representation of "missing information and inapplicable information". Codd also introduced the use of the lowercase Greek omega (ω) symbol to represent null in database theory. In SQL, NULL is a reserved word used to identify this marker.
- Content
- enclass="wikitable" style="display: inline-table !important" + Emp ! Name !! Age George 43 Harriet Charles 56 class="wikitable" style="display: inline-table !important" + EmpH22 ! Name !! Age George 43 Harriet 22 Charles 56 class="wikitable" style="display: inline-table !important" + EmpH37 ! Name !! Age George 43 Harriet 37 Charles 56
- Date
- 12 April 2013
- Depiction
- Has abstract
- enIn SQL, null or NULL is a special marker used to indicate that a data value does not exist in the database. Introduced by the creator of the relational database model, E. F. Codd, SQL null serves to fulfil the requirement that all true relational database management systems (RDBMS) support a representation of "missing information and inapplicable information". Codd also introduced the use of the lowercase Greek omega (ω) symbol to represent null in database theory. In SQL, NULL is a reserved word used to identify this marker. A null should not be confused with a value of 0. A null value indicates a lack of a value, which is not the same thing as a value of zero. For example, consider the question "How many books does Adam own?" The answer may be "zero" (we know that he owns none) or "null" (we do not know how many he owns). In a database table, the column reporting this answer would start out with no value (marked by Null), and it would not be updated with the value "zero" until we have ascertained that Adam owns no books. SQL null is a marker, not a value. This usage is quite different from most programming languages, where null value of a reference means it is not pointing to any object.
- Hypernym
- Marker
- Innerstyle
- endisplay: flex; flex-flow: row wrap; justify-content: space-evenly;
- Is primary topic of
- Null (SQL)
- Label
- enNull (SQL)
- Link from a Wikipage to an external page
- zenodo.org/record/1038419%7Cdoi=10.3233/978-1-60750-690-4-354%7Cyear=2011
- archive.org/details/databaserelation00date
- www.thethirdmanifesto.com/
- www.iaeng.org/IJCS/issues_v35/issue_3/IJCS_35_3_08.pdf
- www.psoug.org/reference/null.html
- web.archive.org/web/20130412031441/http:/psoug.org/reference/null.html
- www09.sigmod.org/sigmod/record/issues/0809/p23.grant.pdf
- ceur-ws.org/Vol-866/paper8.pdf
- www.u.arizona.edu/~rubinson/scrawl/Rubinson.2007.Nulls_Three-Valued_Logic_and_Ambiguity_in_SQL.pdf
- www.acm.org/sigmod/record/issues/9409/sql.ps
- web.archive.org/web/20130405060544/http:/www.sqlexpert.co.uk/2006/05/treatment-of-nulls-by-oracle-sql.html
- bugs.sun.com/bugdatabase/view_bug.do%3Fbug_id=4032732
- Link from a Wikipage to another Wikipage
- ACM Transactions on Database Systems
- Aggregate function
- Association for Computing Machinery
- Boolean type
- B-tree
- Case (SQL)
- Category:Articles with example SQL code
- Category:SQL keywords
- Category:Unknown content
- Check constraint
- Chris Date
- Closed-world assumption
- Codd's 12 rules
- Column (database)
- Computerworld
- Concatenation
- Conditional (programming)
- Conditional table
- Co-NP-complete
- Constant function
- Database
- Database schema
- Database theory
- Data Definition Language
- Data domain
- Data manipulation language
- Data Manipulation Language
- Data type
- Designated value
- Don Chamberlin
- E. F. Codd
- Fabian Pascal
- False dilemma
- File:Db null.png
- File:Sql query1.png
- Foreign key
- Functionally complete
- Function overloading
- Hugh Darwen
- IAENG
- IBM System R
- Imieliński-Lipski Algebras
- Is functions
- Join (SQL)
- Law of excluded fourth
- Law of excluded middle
- Law of Identity
- List of SQL reserved words
- Literal (computer programming)
- Microsoft SQL Server
- MySQL
- Natural join
- Null pointer
- NULLs and the Three Valued Logic
- Object (computer science)
- Omega
- Open-world assumption
- Partial equivalence relation
- Pearson PLC
- Possible world
- PostgreSQL
- Procedural programming
- Propositional logic
- PSM
- RDBMS
- Relational algebra
- Relational database
- Relational model
- Result set
- Reverse Polish notation
- Semipredicate problem
- SIGMOD
- Skolem function
- SQL
- SQL
- SQL:1999
- SQL:2003
- SQL92
- SQL-92
- SQLite
- SQL Server Compact
- Structure (mathematical logic)
- Switch statement
- Tasmania
- Tautology (logic)
- Telephone number
- Ternary logic
- Three-valued logic
- Tomasz Imieliński
- Transact-SQL
- Undefined value
- Witold Lipski
- SameAs
- 3RQQD
- m.06d7bk
- Null (SQL)
- Null (SQL)
- Null (SQL)
- Null (SQL)
- Null (SQL)
- Null (SQL)
- Null (SQL)
- NULL (SQL)
- Q371029
- قيمة فارغة (إس كيو إل)
- নাল (এসকিউএল)
- 空值 (SQL)
- SeeAlso
- Option type
- Subject
- Category:Articles with example SQL code
- Category:SQL keywords
- Category:Unknown content
- Thumbnail
- Url
- null.html
- WasDerivedFrom
- Null (SQL)?oldid=1124588178&ns=0
- WikiPageLength
- 62465
- Wikipage page ID
- 2002540
- Wikipage revision ID
- 1124588178
- WikiPageUsesTemplate
- Template:!
- Template:!-
- Template:!!
- Template:!)
- Template:(!
- Template:=
- Template:Anchor
- Template:Citation needed
- Template:Cite book
- Template:Cite journal
- Template:Code
- Template:Further
- Template:Good article
- Template:Image frame
- Template:Mono
- Template:Mvar
- Template:No2
- Template:Nothing
- Template:NULL
- Template:Null result
- Template:Nulls
- Template:Overline
- Template:Portal
- Template:Quote
- Template:Redirect
- Template:Reflist
- Template:See also
- Template:Short description
- Template:Snd
- Template:SQL
- Template:Unknown
- Template:Webarchive
- Template:Yes2