What if we fail to give values in columns declared as NOT
NULL ?
Answers were Sorted based on User's Feedback
Answer / santy
we will get the sql error code "-407"
-407 :- An UPDATE, INSERT or SET VALUE is NULL, but the
object column cannot contain the NULL values.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / mani
the above mentioned will happen provided there is no default
value specified at the time of defining the table.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / santy_rathod007@yahoo.co.in
Please correct the above error defintation :-
-407 :- An UPDATE, INSERT or SET VALUE is NULL, but the
object column defiend as NOT NULL values.
| Is This Answer Correct ? | 2 Yes | 2 No |
What is the use of DELGEN in DB2? Can we Write the program with out using it?
What is the purpose of using commit?
What kind of database is db2?
What is null indicator in db2?
What's The Percentage Free Space ?
what are the copybook changes generally we done?can anyone tell me......... Thanks in advance........
EXPLAIN has output with MATCHCOLS = 0. What does it mean?
How to find last record before record through SQLRPGLE?
if one db2 pgm calls another db2 pgm. how many plans do we need. what r the steps involved..
How do you eliminate duplicate values in db2?
Why do chiropractors use drop table?
which SQL comment successfully removes uncommitted changes from a DB2 database A) rollback B) delete C) drop D) decommit