Advertisements
Advertisements
Question
Give any two reasons to show that a blank space or zero is not the same as NULL value in SQL.
Solution
NULL value | Zero and blank space | |
1. | A NULL value is a value, which is unavailable, unassigned, unknown or not applicable. It is used in the absence of any value. Arithmetic operations can be performed on it. | Zero is a number, and a blank space is treated as a character. |
2. | The NULL value can be treated as an unknown and missing value. | A zero is a number and blank spaces are treated as characters |
3. | One NULL may not be the same as another NULL. NULL indicates that no data has been provided or that no data exists. | A blank space or a zero can be compared to another blank space or a zero. |
APPEARS IN
RELATED QUESTIONS
Which property describes the various characteristics of an entity?
How is a view created in SQL?
Give any two differences between Static (embedded) SQL and Dynamic SQL.
Which one of the following is the shortcut key in MS Excel to 'undo the last action'?
Which one of the following files contains one or more worksheets to organise data?
What is the intersection of a column and a row in a worksheet called?
What is the use of UPDATE command in SQL?
Name the DBMS language component which can be embedded in a programme.
The fill function can be ______ to complete formulas in a range.
What are the SQL statements used in Database testing to manipulate the test table?