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 a bind in db2?
how to get duplicate records from tables?write qurey for this?
How to retrieve rows from a db2 table in embedded sql?
I have 1000 rows in a db2 table.I want to update first 100 records,How do I do it?
What is db2 bind?
What is the size of a data page?
What does runstats do in db2?
i have an employment table whch has salary,dept,name? i want salary b/w 1000 to 5000 can anyone pls say the query for ths ?
8 Answers Cap Gemini, CGI, EDS, IBM, Satyam, Wipro,
What is the function of buffer manager?
if one db2 pgm calls another db2 pgm. how many plans do we need. what r the steps involved..
What do the initials DDL and DML stand for and what is their meaning?
What happens in bind step in a db2 program?