Tag: databases

Questions Related to databases

  1. SERVER PROCESSES

  2. INSTANCES

  3. TABLESPACES

  4. DATABASES


Correct Option: B
  1. catalog.sql

  2. sql.bsq

  3. catproc.sql

  4. dictionary.sql


Correct Option: B
  1. move index to a new tablespace

  2. change the initial extent size of the index

  3. collect statistics on the index

  4. specify a new name for the index


Correct Option: D
  1. parameter file

  2. data files

  3. redo log files

  4. alert.log file


Correct Option: C
  1. ITS A DUMMY RULE

  2. TO BALANCE THE EXTRACTION AND LOADING PROCESS

  3. EASY TO MAINTAIN

  4. TO RESOLVE THE PERFORMANCE ISSUES


Correct Option: B,D
  1. Delete * from table T1

  2. Delete all from T1

  3. Delete * from T1

  4. Delete From T1


Correct Option: D

Which of the following DB2 data types does NOT have a fixed length?

  1. XML

  2. INT

  3. CHAR

  4. Double


Correct Option: A

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) XML - This option is correct. XML data type in DB2 does not have a fixed length. It is a variable-length data type that can store XML data of varying lengths.

Option B) INT - This option is incorrect. INT data type in DB2 does have a fixed length. It represents a signed integer and has a fixed length of 4 bytes.

Option C) CHAR - This option is incorrect. CHAR data type in DB2 does have a fixed length. It is used to store fixed-length character strings and requires you to specify the length of the string.

Option D) Double - This option is incorrect. Double data type in DB2 does have a fixed length. It represents a double-precision floating-point number and has a fixed length of 8 bytes.

The correct answer is A) XML. This option is correct because the XML data type in DB2 does not have a fixed length.