Categories:
.NET (961)
C (387)
C++ (185)
CSS (84)
DBA (8)
General (31)
HTML (48)
Java (641)
JavaScript (220)
JSP (109)
JUnit (31)
MySQL (297)
Networking (10)
Oracle (562)
Perl (48)
Perl (9)
PHP (259)
PL/SQL (140)
RSS (51)
Software QA (28)
SQL Server (5)
Struts (20)
Unix (2)
Windows (3)
XHTML (199)
XML (59)
Other Resources:
How To Test NULL Values
How To Test NULL Values? - Oracle DBA FAQ - Understanding PL/SQL Language Basics
✍: FYIcenter.com
There ate two special comparison operators you can use on NULL values:
The following sample script shows you examples of comparing NULL values:
DECLARE next_task CHAR(80); BEGIN next_task := NULL; IF next_task IS NOT NULL THEN DBMS_OUTPUT.PUT_LINE('I am busy.'); ELSE DBMS_OUTPUT.PUT_LINE('I am free.'); END IF; IF next_task IS NULL THEN NULL; ELSE DBMS_OUTPUT.PUT_LINE('... working on ' || next_task); END IF; END;
Note that "variable = NULL" is not a valid operation. This script should print this:
I am free.
2007-04-29, 5509👍, 0💬
Popular Posts:
How To Fade Image Edges to Background Colors? - PSP Tutorials - Fading Images to Background Colors w...
What are the core functionalities in XML .NET framework? Can you explain in detail those functionali...
How To Delete a User Account? - Oracle DBA FAQ - Managing Oracle User Accounts, Schema and Privilege...
How To Enter Boolean Values in SQL Statements? - MySQL FAQs - Introduction to SQL Basics If you want...
How many types of validation controls are provided by ASP.NET ? There are six main types of validati...