Tag: databases

Questions Related to databases

  1. It describe how to interpret the flat file and options to load the data.

  2. It describe the location and format of the data file.

  3. It describe the location of the Bad and Discard records file .

  4. It has the control to connect database


Correct Option: A,B,C
  1. LOAD DATA, INFILE, COLUMNS OF THE TARGET TABLE

  2. BADFILE

  3. DISCARDFILE

  4. LOADING OPTIONS, FILE FORMATTER


Correct Option: A,D

Pick the correct options about Control File

  1. The LOAD DATA statement is required at the beginning of the control file.

  2. The INFILE option specifies where the input file is located

  3. Specifying BADFILE, then bad records found during loading will be stored in this file.

  4. Specifying DISCARDFILE , then records which do not meet a WHEN condition will be written to this file.

  5. Field Seperator - how the fields are separated in input file.


Correct Option: A,B,C,D,E
  1. The LOAD DATA statement is required at the beginning of the control file.

  2. The INFILE option specifies where the input file is located

  3. Specifying BADFILE, then bad records found during loading will be stored in this file.

  4. Specifying DISCARDFILE , then records which do not meet a WHEN condition will be written to this file.

  5. Field Seperator - how the fields are separated in input file.


Correct Option: A,B,C,D,E
  1. INSERT

  2. APPEND

  3. REPLACE TRUNCATE

  4. DELETE UPDATE


Correct Option: A,B,C
  1. INSERT : Loads rows only if the target table is empty

  2. APPEND: Load rows if the target table is empty or not.

  3. REPLACE: First deletes all the rows in the existing table and then, load rows.

  4. TRUNCATE: First truncates the table and then load rows.


Correct Option: A,B,C,D
  1. Conventional

  2. Direct

  3. Indirect

  4. Insert


Correct Option: A,B