Which of following types of table constraints will prevent the entry of duplicate rows:

PPSC 5 Years Past Papers Subject Wise (Solved with Details) / All - Multiple-choice practice

مندرجہ ذیل میں سے کون سی قسم کی جدول کی رکاوٹیں ڈپلیکیٹ قطاروں کے اندراج کو روکیں گی:

  1. A. Unique
  2. B. Primary key
  3. C. Null
  4. D. Foreign key

Correct answer

Unique

Explanation

Explanation A u nique constraint is a rule that forbids duplicate values in one or more columns within a table. Unique and primary keys are the supported unique constraints.

Continue with All MCQs, explore all PPSC 5 Years Past Papers Subject Wise (Solved with Details) topics, or try the All practice quiz.

More All questions

Found an error? Report a correction with this page URL and a supporting source.