databases Online Quiz - 100
Description: databases Online Quiz - 100 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: databases |
Select the VALID trigger type(s)?
Which of the following statements about an SQL statement are not correct?
What is a database cursor?
What does ACID stand for?
Select incorrect variable declarations
What command can you use to see the errors from a recently created view or stored procedure?
What is the value of l_child_number? DECLARE l_parent_number NUMBER := 1; BEGIN DECLARE l_child_number NUMBER := 2; BEGIN l_child_number := l_parent_number + l_child_number; END; DBMS_OUTPUT.PUT_LINE(TO_CHAR(l_child_number)); EXCEPTION WHEN OTHERS THEN l_child_number := 0; DBMS_OUTPUT.PUT_LINE(TO_CHAR(l_child_number); END;
Which of the following is not a valid Oracle PL/SQL exception.
Which of the following is not a grouping function?
Which of the following is not an Oracle DML function?
The || is is an example of what function SELECT last_name || ', ' || first_name || ' ' || middle_name FROM employees;
Assuming the date and time is 09/09/2009 09:09:09, what value will the following statement return SELECT TO_CHAR(TRUNC(SYSDATE),'MM/DD/YYYY HH24:MI:SS') FROM dual;
Where do you declare an explicit cursor in the PL/SQL language?
Select the best answer. This is an example of what _____ type of cursor? DECLARE l_date DATE; BEGIN SELECT TRUNC(SYSDATE) INTO l_date FROM DUAL; END;
Select the best answer. This is an example of what _____ type of cursor? DECLARE l_date DATE; CURSOR c1 IS SELECT TRUNC(SYSDATE) FROM DUAL; BEGIN OPEN c1; FETCH c1 INTO l_date; CLOSE c1; END;
Select the best answer to complete this variable declaration for a record. DECLARE l_foo_table SOME_TABLE_________; BEGIN ...
List the correct sequence of commands to process a set of records when using explicit cursors