Can a primary key have null values? If we try to insert a
null value in a primary key column, will it work or give an
error code?

Answer Posted / sachin borase

May be it will throws the -803 error (803 means index
violation )

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of db2?

578


What is syscat in db2?

570


What is db2 plan table?

611


What is isolation level in db2?

572


What is the max length of sqlca?

756






Explain package in db2 and its advantages?

589


What is the maximum number of columns in a db2 table?

711


Which component is used to execute the sql statements?

611


What are the contents of a dclmgen?

622


When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?

3112


What is the syntax for FETCH in DB2 ?

664


What is the picture clause of null indicator variable?

685


Explain about mirror activator disk mirroring?

554


What is the use of runstats in db2?

570


List out the buffer pools in db2

620