PL/SQL Multiple Choice Questions and Answers for freshers pdf free download

Advanced Pl Sql Multiple Choice Questions Answers, pl sql mcqs beginners, pl sql multiple choice questions pdf free download
1.  Select incorrect variable declarations
2.  Select invalid variable types
3.  List the correct sequence of commands to process a set of records when using explicit cursors
4.  Where do you declare an explicit cursor in the PL/SQL language?
5.  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;
6.  The || is is an example of what function
SELECT last_name || ', ' || first_name || ' ' || middle_name FROM employees;
7.  Which of the following is not an Oracle DML function?
8.  Select the best answer.  Which listed attribute is an invalid attribute of an Explicit cursor.
9.  Which of the following is not a grouping function.
10. Which of the following is not a valid Oracle PL/SQL exception.
11. What command can you use to see the errors from a recently created view or stored procedure?
12. Select the best answer below.  What are the components of a package?
13. PL/SQL subprograms, unlike anonymous blocks, are compiled each time they are executed. True or False?
14. Subprograms and anonymous blocks can be called by other applications. True or False? 
15. A nested subprogram can be called from the main procedure or from the calling environment. Trueor False? 
16. When modifying procedure code, the procedure must be re-executed to validate and store it in thedatabase. True or False? 
17. Which of the following can be used as an argument for a procedure parameter? 
18. If you don't specify a mode for a parameter, what is the default mode? 
19. Which kind of parameters cannot have a DEFAULT value? 
20. What are the three parameter modes for procedures? 
21. Which one of the following statements about formal and actual parameters is true? 
22. What is the correct syntax to create procedure MYPROC that accepts two number parameters X and Y? 
23. Which of the following statements is true about implicit cursors?
24. Which of the following is not a feature of a cursor FOR loop?
25. A developer would like to use referential datatype declaration on a variable. The variable name is EMPLOYEE_LASTNAME, and the corresponding table and column is EMPLOYEE, and LNAME, respectively. How would the developer define this variable using referential datatypes?
26. Which three of the following are implicit cursor attributes?
27. If left out, which of the following would cause an infinite loop to occur in a simple loop?
28. Which line in the following statement will produce an error?
29. The command used to open a CURSOR FOR loop is
30. What happens when rows are found using a FETCH statement
31. What is the maximum number of handlers processed before the PL/SQL block is exited when an exception occurs?
32. For which trigger timing can you reference the NEW and OLD qualifiers?

0 comments: