How do you insert a record with a nullable column?
Answers were Sorted based on User's Feedback
Answer / santosh
For the column which you want to incert a null value,
incert -1 value to indicator variable then incert the
column.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / s
INSERT INTO TABLE X VALUES('ABC','DEF','')
will allow you to insert a record with no value specified
for the nullable column
| Is This Answer Correct ? | 2 Yes | 3 No |
i want to maintain uniqueness on pdf without make lf??????????
What is schema in db2?
What is a page in db2?
Do we need cursor for Count(*)?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
How and when does the db2 enforces the unique key?
What is catalog database in db2?
What is dynamic SQL?
Why cursor is used in db2?
How to get Top 10 Salaries from a Table
What is a db2 collection?
What is the difference between Where and Having Clause