What do you mean by NOT NULL? When will you use it?
Answers were Sorted based on User's Feedback
Answer / s
NOT NULL disallows nulls for the column. Primary Key must
be defined as NOT NULL or any key that you do not want to
have NULLS, becaue the default is that any column can
contain NULLs
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / andank
NOT NULL is the keyword used define columns, when create a
table. When you specify NOT NULL to a column, that column
can not hold NULL values.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / s
CREATE UNIQUE WHERE NOT NULL INDEX index1
ON table(column);
WHERE NOT NULL ensures that non-null values are unique.
Is This Answer Correct ? | 0 Yes | 0 No |
could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..
what is db2 restart?
What is cursor in dbms?
What is the difference between cursor and select statement?
Suppose we have a query for update update table1 set col1 = 'val1' where col2=(select .... from ...) suppose the subquery does not return any record, what will happen to update?
how to resolve -811
What is the role of the data page in the db2 database?
Define sqlca.
How is the SUBSTR keyword used in sql?
What is precompiler in db2?
What is the function of the Data Manager?
What are the Isolation levels possible ?