databases Online Quiz - 171
Description: databases Online Quiz - 171 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: databases |
Query to view installed Oracle version information ?
Which is not a valid PL/SQL Exception ?
Which is not a valid PL/SQL Cursor Exceptions?
Which one is not a valid pseudo-columns?
What is correct regarding output of SIGN function?
The command used to open a CURSOR FOR loop is
Which procedure can be used to create a customized error message?
What happens when rows are found using a FETCH statement ?
Which two statements are true? (Choose two)
CREATE OR REPLACE PROCEDURE find_cpt (v_movie_id {Argument Mode} NUMBER, v_cost_per_ticket {argument mode} NUMBER) IS BEGIN IF v_cost_per_ticket > 8.5 THEN SELECT cost_per_ticket INTO v_cost_per_ticket FROM gross_receipt WHERE movie_id = v_movie_id; END IF; END; Which mode should be used for V_COST_PER_TICKET?
The ADD_PLAYER, UPD_PLAYER_STAT and UPD_PITCHER_STAT procedures are grouped together in a package. A variable must be shared among only these procedures. Where should you declare this variable?
For which trigger timing can you reference the NEW and OLD qualifiers?
Examine this code: CREATE OR REPLACE STORED FUNCTION get_sal (p_raise_amt NUMBER, p_employee_id employees.employee_id%TYPE) RETURN NUMBER IS v_salary NUMBER; v_raise NUMBER(8,2); BEGIN SELECT salary INTO v_salary FROM employees WHERE employee_id = p_employee_id; v_raise := p_raise_amt * v_salary; RETURN v_raise; END; Which statement is true?
When using a packaged function in a query, what is true?
Which three are true regarding error propagation? (Choose three)
Which procedure of the dbms_output supply package would you use to append text to the current line of the output buffer?
The first prime minister of Bangladesh was
An Oracle instance is executing in a nondistributed configuration. The instance fails because of an operating system failure. Which background process would perform the instance recovery when the atabase is reopened ?
A tablespace has a table with 30 extents in it. Is this bad?
You need to enforce these two business rules: 1. No two rows of a table can have duplicate values in the specified column. 2. A column cannot contain null values. Which type of constraint ensure that both of the above rules are true ?