Can a unique index have more than one null value? If not,
what error code is given if an attempt is made to insert
more than one null value?
Answers were Sorted based on User's Feedback
Answer / mani
Unique index can have null values and no null value is equal
to another null value.
i don't know if it raises an error or not when you insert a
null value.
Null value acceptance in the column is again based on the
definition given for the column whether it can accept null
values or not.
Is This Answer Correct ? | 5 Yes | 2 No |
Answer / sri
Null value will allow only one null (That is maximum) as
per DB2 stds. If we try to insert more we get error -305.
Is This Answer Correct ? | 2 Yes | 5 No |
Answer / ratheesh
No. A SQLCODE of -803 (duplicate insert) will be returned.
Is This Answer Correct ? | 0 Yes | 6 No |
What is a SELECT statement?
Explain packages.
What are union and union all?
What is db2 stogroup?
What is the difference between dbm cfg and db cfg file in db2 ?
How many types of page locks can be held in db2?
how do you resolve -818 error in db2. where we have to see time stamp token. i said by seeing in load module and plan .is it correct or not. give clear explination for how to see time stamp token
WHAT IS MEANT BY COMMIT COMMAND?
What is netezza database?
What is declare cursor?
How is a typical db2 batch pgm executed?
What is a synonym ?