How do you insert a record with a nullable column?

Answers were Sorted based on User's Feedback



How do you insert a record with a nullable column?..

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

How do you insert a record with a nullable column?..

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

Post New Answer

More DB2 Interview Questions

my project is insurance management system,how to explain my work environment in interview?

2 Answers   CGI, Value Labs,


What is difference between rollback and commit?

0 Answers  


How to access db2 tables in mainframe?

0 Answers  


5 rows are inserted to a DB2 Table. Next 3 of those are updated, then a rollback is issued. What would happen when the rollback is issued?

2 Answers  


why we create view.

5 Answers  






What is null indicator in db2?

0 Answers  


How to check table size in db2 sap?

0 Answers  


How would the varchar column remarks defined?

0 Answers  


What is DCLGEN ?

3 Answers  


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,


How can you count the number of rows from a table tab?

0 Answers  


wt is view ? wht r the restrictions for view ?

3 Answers   Verizon,


Categories