What is a NULL value? What are the pros and cons of using
NULLS?
Answers were Sorted based on User's Feedback
Answer / s
NULL Value indicates the absence of a value. DB2 treats
NULL as an actual value and is not equal to blank, zero or
empty string.
The default value of a CHAR data type is blanks, VARCHAR is
empty string and INT,SMALLINT,FLOAT etc is 0.
NULL is not equal to any of the above.
NULLs does not satify any condition in the SQL except when
IS NULL predicate is used. Null can be used at times when
you cannot specify a value for a column, eg middle names,
not everyone has middle names.
| Is This Answer Correct ? | 9 Yes | 0 No |
I am getting a error multiple row fetched while executing a Cobol-DB2 program.How can I solve it without using a cursor.
how can you save the query in QMF?IS IT POSSIBLE OR NOT.IF POSSIBLW HOW?
can any body explain about plan and pakage in detail....
What is the physical storage length of time data type?
What is null value in db2?
what are the frequent DB2 abends did you encounter in your programs ?? What are different SQL abends ??
I have a table(product),It contain fields(productname,cost). I want to retrieve the product name ,which cost is second maximum in the table?
When Can you be sure that a query will return only one row?
What is a clustering index?
Cursors can be declared in both working-storage & procedure division, agreed. But is there any difference? If could you please suggest what is the difference
How do u achieve record level locking in DB2 versions when record level locking is not allowed?
Mention the downsides of page level lock.