Tag: databases

Questions Related to databases

  1. Use import "Oracle Table Definitions" .

  2. Use import "Via bridges".

  3. Use import "Plug-in Meta Data Definitions".

  4. Use import "Orchestrate Schema Definitions" using orchdbutil.


Correct Option: D
  1. Column

  2. 1966_Invoices

  3. #Invoices

  4. Catch_#22


Correct Option: D
  1. Default tablespace for the user

  2. Oracle will give an error

  3. System tablespace

  4. Users tablespace


Correct Option: A
  1. cursor CAPITALS is

  2. select CITY, STATE

  3. into my_city, my_state

  4. from CITIES where CAPITAL = 'Y';


Correct Option: C
  1. When the datatypes of SELECT clause and INTO clause do not match

  2. When a SELECT statement returns more than one row

  3. When a SELECT statement returns no rows

  4. When INTO statement is missing in the SELECT statement


Correct Option: B,C

Which section of a PL/SQL block would most likely contain a RAISE statement?

  1. Header

  2. Declarative

  3. Executable

  4. Exception


Correct Option: C,D

Assuming today is Monday, 10 July 2000, what is returned by this statement: SELECT to_char(NEXT_DAY(sysdate, 'MONDAY'), 'DD-MON-RR') FROM dual;

  1. 10-JUL-00

  2. 17-JUL-00

  3. 12-JUL-00

  4. 11-JUL-00


Correct Option: B

SQL statement with “High Selectivity” means

  1. No. of rows returned by SQL statement are HIGH

  2. No. of rows returned by SQL statement are FEW

  3. No. of rows returned by SQL statement are > 10000

  4. No. of rows returned by SQL statement are > 50000


Correct Option: B