RDBMS 6

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Knowledge Check 8

1) What is Constraint?
a) Constraint is a rule or set of rules that apply to a column or
combination of columns
b) It does not achieve data integrity
c) It allows data corruption
d) None of the above
2) Check constraint is also known as _________
a) Domain integrity
b) Referential integrity
c) Entity integrity
d) None of the above
3) To maintain relationship between two related tables
a) Domain integrity
b) Referential integrity
c) Entity integrity
d) None of the above
4) Foreign key constraint is also known as
a) Domain integrity
b) Referential integrity
c) Entity integrity
d) None of the above
5) ___________ allows null values to be stored
a) primary key
b) unique key
c) composite key
d) None of the above
6) By default a table allows null records
a) True
b) false
7) Which of the following statement is true about tables
a) A table can have only one primary key constraint but can have
several UNIQUE constraints
b) A table can have multiple primary keys
c) Null value can be stored in the primary key
d) None
8) Important constrains are
a) Primary key
b) Foreign Key
c) UNIQUE Key
d) a, b and c
e) a and b
f) b and c

You might also like