What if we fail to give values in columns declared as NOT
NULL ?

Answers were Sorted based on User's Feedback



What if we fail to give values in columns declared as NOT NULL ?..

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

What if we fail to give values in columns declared as NOT NULL ?..

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

What if we fail to give values in columns declared as NOT NULL ?..

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

Post New Answer

More DB2 Interview Questions

define clustering index.

0 Answers  


How to update more then one record using update?

5 Answers   IBM,


What do you need to do before you do EXPLAIN ?

1 Answers  


What is a bind card?

0 Answers  


could you give me an example how, where i code CHECKPOINT and restart...I need and example....thanks..

5 Answers  


How is a typical DB2 batch program executed ?

1 Answers  


What is db2 instance?

0 Answers  


What is null in db2?

0 Answers  


What is the difference between Primary key and unique index?

6 Answers  


What is the SQL Communications Area and what are some of its key fields?

1 Answers  


Where would you find information about the type of database authority held by the user?

2 Answers  


Before you give the explain statement, what are the prerogatives?

0 Answers  


Categories