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 default page size of buffer pools?

648


On which levels locks can be applied?

659


My sql statement select avg(salary) from emp yields inaccurate results. Why?

643


What is the latest version of ibm db2?

740


What is view db2?

624






Why do we bind in db2?

631


What db2 400?

677


What is a system catalog table in db2?

588


Highlight all the advantages that are attached to a package.

627


What is syscat in db2?

574


Which component is responsible for processing sql statements and selecting access paths?

669


How do you stop a db2 database in linux?

568


Discuss about db2 bind?

669


What is the use of db2 optimizer?

611


Mention a credible reason why select* is never given preference in an sql program that has been embedded.

719