Question 12Asked in UGC NET Computer Science, June 2014 (Paper II & III, Selected Questions)

A clustering index is created when ______.

  1. APrimary key is declared and ordered
  2. BNo key ordered
  3. CForeign key ordered
  4. DThere is no key and no order
Show answerHide answer

Correct answer: (A) Primary key is declared and ordered

Explanation

Clustered index determines the order in which the rows of a table are stored on disk. If a table has a clustered index. Then the rows of that table will be stored on disk in the same exact order as the clustered index. In some cases, the index is created on non-primary key columns which may not be unique for each record. Clustering index is defined as an ordered data files.

From UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions)

This is question 12 of UGC NET Computer Science PYQ, June 2014 (Paper II & III, Selected Questions). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.