databases Online Quiz - 34
Description: databases Online Quiz - 34 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: databases |
Transaction ends
What SYSTEM VARIABLE is used to refer DATABASE TIME ?
Which of the following is not correct about a View ?
CREATE OR REPLACE FUNCTION CALC_PLAYER_AVG (V_ID in PLAYER_BAT_STAT.PLAYER_ID%TYPE) RETURN NUMBER IS V_AVG NUMBER; BEGIN SELECT HITS / AT_BATS INTO V_AVG FROM PLAYER_BAT_STAT WHERE PLAYER_ID = V_ID; RETURN (V_AVG); END; Which statement will successfully invoke this function in SQL *Plus
Which is the true statements about dependent objects?
You have created a stored procedure DELETE_TEMP_TABLE that uses dynamic SQL to remove a table in your schema. You have granted the EXECUTE privilege to user A on this procedure. When user A executes the DELETE_TEMP_TABLE procedure, under whose privileges are the operations performed by default?
CREATE OR REPLACE PRODECURE add_dept (p_dept_name VARCHAR2 DEFAULT ‘placeholder’, p_location VARCHAR2 DEFAULT ‘Boston’) IS BEGIN INSERT INTO departments VALUES (dept_id_seq.NEXTVAL, p_dept_name, p_location); END add_dept; / Which is invalid call to the add_dep procedure? (Choose three
Which programming constructs can be grouped within a package?
Which statement describe the state of a package variable after executing the package in which it is declared?
Which statement is valid when removing procedures?
Which statement is false?
Which dictionary views track dependencies?
What happens during the execute phase with dynamic SQL for INSERT, UPDATE, and DELETE operations?
What part of a database trigger determines the number of times the trigger body executes?
Which table should you query to determine when your procedure was last compiled?
"A student has such attributes as name, address, and gender. A student can also attend a graduate, undergraduate, or elective class that has the following attributes: class name, section name, major, and instructor. Based on the scenario above, which is the composite key in a junction table if many students can attend many classes?
Which of the following is not a data modeling tool?