Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Happens If NULL Values Are Involved in Expressions
What Happens If NULL Values Are Involved in Expressions? - MySQL FAQs - Introduction to SQL Basics
✍: FYIcenter.com
If NULL values are used in expressions, the resulting values will be NULL values. In other words:
The tutorial exercise shows you some interesting examples:
SELECT NULL + NULL FROM DUAL; NULL SELECT NULL + 7 FROM DUAL; NULL SELECT NULL * 7 FROM DUAL; NULL SELECT NULL = NULL FROM DUAL; NULL SELECT 0 < NULL FROM DUAL; NULL SELECT '' > NULL FROM DUAL; NULL SELECT NULL AND TRUE FROM DUAL; NULL SELECT NULL OR TRUE FROM DUAL; 1 -- This is contradicting against the rules!
2007-05-11, 5238👍, 0💬
Popular Posts:
How To Create an Add-to-Netvibes Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News ...
What's difference between HashTable and ArrayList ? You can access array using INDEX value of array,...
Why does malloc(0) return valid memory address? What's the use? malloc(0) does not return a non-NULL...
What Are the Parameter Modes Supported by PL/SQL? - Oracle DBA FAQ - Creating Your Own PL/SQL Proced...
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy &a...