1. Question: In Pl/Sql, if the where clause evaluates to a set of data, which lock is used?

    A
    Row Level Lock

    B
    Page Level lock

    C
    Column Level lock

    D
    Exclusive Lock

    Note: Not available
    1. Report
  2. Question: If user defined error condition exists,Which of the following statements made a call to that exception?

    A
    Trap

    B
    Raise

    C
    call

    D
    call Exception

    Note: Not available
    1. Report
  3. Question: Which of the following are identified by the "INSTEAD OF" clause in a trigger?

    A
    The view associated with the trigger

    B
    The table associated with the trigger

    C
    The event associated with the trigger

    D
    The package associated with the trigger

    E
    The statement level or for each row association to the trigger

    Note: Not available
    1. Report
  4. Question: What type of trigger is created on the EMP table that monitors every row that is changed, and places this information into the AUDIT_TABLE?

    A
    FOR EACH ROW trigger on the EMP table

    B
    Statement-level trigger on the EMP table

    C
    FOR EACH ROW trigger on the AUDIT_TABLE table

    D
    Statement-level trigger on the AUDIT_TABLE table

    Note: Not available
    1. Report
  5. Question: CREATE OR REPLACE PACKAGE manage_emp IS tax_rate CONSTANT NUMBER(5,2) := .28; v_id NUMBER; PROCEDURE insert_emp (p_deptno NUMBER, p_sal NUMBER); PROCEDURE delete_emp; PROCEDURE update_emp; FUNCTION cal_tax (p_sal NUMBER) RETURN NUMBER; END manage_emp; / CREATE OR REPLACE PACKAGE BODY manage_emp IS PROCEDURE update_sal (p_raise_amt NUMBER) IS BEGIN UPDATE emp SET sal = (sal * p_raise_emt) + sal WHERE empno = v_id; END; PROCEDURE insert_emp (p_deptno NUMBER, p_sal NUMBER) IS BEGIN INSERT INTO emp(empno, deptno, sal) VALUES (v_id, p_depntno, p_sal); END insert_emp; PROCEDURE delete_emp IS BEGIN DELETE FROM emp WHERE empno = v_id; END delete_emp; PROCEDURE update_emp IS v_sal NUMBER(10,2); v_raise NUMBER(10, 2); BEGIN SELECT sal INTO v_sal FROM emp WHERE empno = v_id; IF v_sal < 500 THEN v_raise := .05; ELSIP v_sal < 1000 THEN v_raise := .07; ELSE v_raise := .04; END IF; update_sal(v_raise); END update_emp; FUNCTION cal_tax (p_sal NUMBER)RETURN NUMBER IS BEGIN RETURN p_sal * tax_rate; END cal_tax; END manage_emp; / What is the name of the private procedure in this package?

    A
    CAL_TAX

    B
    INSERT_EMP

    C
    UPDATE_SAL

    D
    DELETE_EMP

    E
    UPDATE_EMP

    Note: Not available
    1. Report
  6. Question: Which procedure is called after a row has been fetched to transfer the value, from the select list of the cursor into a local variable?

    A
    Row_value

    B
    Column_value

    C
    Raise_application

    D
    Exception_init

    Note: Not available
    1. Report
  7. Question: An internal LOB is _____.

    A
    A table

    B
    A column that is a primary key

    C
    Stored in the database

    D
    A file stored outside of the database, with an internal pointer to it from a database column.

    Note: Not available
    1. Report
  8. Question: What is the maximum number of handlers processed before the PL/SQL block is exited, when an exception occurs?

    A
    Only one

    B
    All that apply

    C
    All referenced

    D
    None

    Note: Not available
    1. Report
  9. Question: The technique employed by the Oracle engine to protect table data, when several people are accessing it is called:

    A
    Concurrency Control

    B
    Program Control

    C
    PL/SQL Control

    D
    Locking

    Note: Not available
    1. Report
  10. Question: Which table should be queried to determine when the procedure was last compiled?

    A
    USER_PROCEDURES

    B
    USER_PROCS

    C
    USER_OBJECTS

    D
    USER_PLSQL_UNITS

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd