1.

What is the function of the not null constraint?(a) It prevents illegal data from being entered into the database(b) It ensures that data is entered into the database(c) It ensures that the data entered is unique(d) None of the mentionedI got this question in homework.My doubt is from Integrity Constraints in chapter Intermediate and Advanced Sql of RDBMS

Answer»

The correct answer is (b) It ensures that DATA is entered into the database

To explain: The not NULL constraint ensures that data is entered into the database. It DISPLAYS an error message whenever a data FIELD mentioned is left empty.



Discussion

No Comment Found

Related InterviewSolutions