IBM DB2 11.1 Advanced DBA for Linux, UNIX, and Windows — Question 40

Which of the following statements will successfully create a table that scores index data in a different table space than the table data?

Answer options

Correct answer: B

Explanation

Option B is correct because it explicitly specifies that the table data will be created in TS1 while the index will be created in TS2, achieving the requirement of separate tablespaces. Option A does not specify any tablespace, so it defaults to the system tablespace. Options C and D incorrectly either place both the table and index in the same tablespace or do not separate them properly, hence they are not valid for the requirement.