GoConqr has a new look! Let us know what you think.

Quiz

Oracle Fatality

Brandon Gagon 17 questions

Take the quiz

Questions in this quiz (17)

  1. 1SELECT NVL2(NULLIF('CODA','SID'),'SPANIEL','TERRIER') FROM DUAL;

    (Choose the best answer.)
    1. ASPANIEL
    2. BNone of the above
    3. CTERRIER
    4. DNULL
  2. 2Which values are returned after executing the following statement?
    SELECT COUNT(*), COUNT(SALARY) FROM EMPLOYEES;

    Assume there are ten employee records and each contains a SALARY value of 100, except for one, which has a null value in the SALARY field.
    (Choose all that apply.)
    1. A10 and 10
    2. B10 and NULL
    3. C10 and 9
    4. DNone of the above
  3. 3Which of these statements regarding SQL Developer are correct?
    (Choose two answers.)
    1. ASQL Developer can be installed outside an Oracle Home.
    2. BSQL Developer cannot connect to databases earlier than release 10g.
    3. CSQL Developer relies on an LDAP directory for name resolution.
    4. DSQL Developer can store passwords.
  4. 4What languages can run within the database?
    (Choose all that apply.)
    1. APL/SQL
    2. BJava
    3. CSQL
    4. DC
  5. 5Which best describes an inline view?
    1. Aa sub query that is part of the FROM clause of another query
    2. Banother name for a view that contains group functions
    3. Ca sub query that can contain an ORDER BY clause
    4. Da schema object
  6. 6What types of segments are protected by redo?
    (Choose all that apply.
    1. AIndex Segments
    2. BUndo Segments
    3. CTable Segments
    4. DTemporary Segments
  7. 7Which two statements are true regarding the count function?
    1. ACount (cust_id) returns the number of rows including rows with duplicate customer IDs and NULL value in the CUST_ID column.
    2. BCount (distinct inv_amt) returns the number of rows excluding rows containing duplicates and NULL values in the INV_AMT column.
    3. CCount (*) returns the number of rows including duplicate rows and rows containing null value in any of the columns.
    4. DThe count function can be used only for CHAR, VARCHAR2, and NUMBER data types.
    5. EA select statement using the COUNT function with a DISTINCT keyword cannot have a where clause.
  8. 8Which three tasks can be performed using SQL functions built into Oracle Database?
    1. ACombining more than two columns or expressions into a single column in the output
    2. BFinding the number of characters in an expression
    3. CSubstituting a character string in a text expression with a specified string
    4. DDisplaying a date in a nondefault format
  9. 9If you suspect that undo generation is a performance issue, what can you do to reduce the amount of undo data generated?

    (Choose the best answer.)
    1. AConvert from use of rollback segments to automatic undo management.
    2. BThere is nothing you can do because all DML statements must generate undo.
    3. CReduce the size of the undo segments.
    4. DSet the UNDO_MANAGEMENT parameter to NONE.
  10. 10In which three situations does a transaction complete?
    1. AWhen a ROLLBACK command is executed
    2. BWhen a data definition language (DDL) statement is executed
    3. CWhen a DELETE statement is executed
    4. DWhen a TRUNCATE statement is executed after the pending transaction
    5. EWhen a PL/SQL anonymous block is executed

Information

Description
Quiz on Oracle Fatality, created by Brandon Gagon on 21/04/2019.
Language
English
Views
5
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?