Tag: databases

Questions Related to databases

  1. Composite primarykey

  2. Not null

  3. unique

  4. check


Correct Option: A
  1. a period of time

  2. a numerical difference

  3. a descriptive number

  4. a floating point number


Correct Option: A
  1. False

  2. This is hard to determine

  3. True

  4. None of the choices


Correct Option: C
  1. varchar is used to store fixed length character data, varchar2 is for variable length character data

  2. varchar data type is not supported in oracle

  3. varchar data type is applicable only to PL/SQL

  4. maximum length for varchar is 2000 bytes and for varchar2 is 4000 bytes


Correct Option: D
  1. The Constraint condition is never checked

  2. The Constraint condition is checked only at the time of commiting the transaction

  3. The Constraint condition is checked only for newly inserted rows and will not be checked for already existing rows in the table

  4. The constraint condition is checked after a predefined time interval


Correct Option: B
  1. drop foreign keys

  2. cascade constraints

  3. this is not possible in oracle

  4. clear references


Correct Option: B