Tag: databases

Questions Related to databases

  1. set timing on select * from EMP

  2. set time on select * from EMP

  3. time on select * from EMP

  4. set timings on select * from EMP


Correct Option: A
  1. Long

  2. Int(0)

  3. Char(0)

  4. Binary


Correct Option: C
  1. <=30 characters

  2. <=40 characters

  3. <=32 characters

  4. <=20 characters


Correct Option: A
  1. All matched columns returns NULLS.

  2. All unmatched columns returns NULLS.

  3. All matched and unmatched columns returns NULLS.

  4. Cant say


Correct Option: B
  1. Functions

  2. Package body

  3. Triggers

  4. Cursor


Correct Option: A,B,C

Which of the following clause enables to drop the foreign key constraints of the child table while dropping the parent table?

  1. drop foreign keys

  2. cascade constraints

  3. this is not possible in oracle

  4. clear references


Correct Option: D
  1. maximum length for varchar is 2000 bytes and for varchar2 is 4000 bytes

  2. varchar is used to store fixed length character data, varchar2 is for variable length character data

  3. varchar data type is not supported in oracle

  4. varchar is applicable only to PL/SQL


Correct Option: D