PL SQL Interview Questions

Q.  To process most dynamic SQL statements, you use the EXECUTE IMMEDIATE statement. To process a multi-row query (SELECT statement), which of these statements would you use?

a. OPEN-FOR
b. FETCH
c. CLOSE
d. All mentioned above


ANSWER: See Answer
 
No explanation is available for this question!
MCQs:  Assigning a value to a collection element can cause exceptions, such as
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Nested tables can be sparse: you can delete arbitrary elements, rather than just removing an item from the end.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following retains duplicate rows in the result of a query or in an aggregate expression?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which operations cannot be performed on cursor expressions?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Cursor attributes are not affected by autonomous transactions.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  PL/SQL has two types of subprograms, procedures and functions. Which subprogram is used to compute a value?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which is a procedural extension of Oracle- SQL that offers language constructs similar to those in imperative programming languages?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In which subprogram a RETURN statement does not return a value and so cannot contain an expression?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following combines the data manipulating power of SQL with the data processing power of Procedural languages?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  The constructs of a procedure, function or a package are ________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Any subprogram not in the package specification but coded in the package body is called a ___________ .
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following are the advantages of PL/SQL Packages?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  In internal exception oracle raises the exception for you implicitly. You still need to declare the exception and handle it, but you don’t need to raise it.
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which PL/SQL warning categories gives Messages for conditions that do not have an effect on performance or correctness, but that you might want to change to make the code more maintainable, such as unreachable code that can never be executed?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  ________ does not correlate with an oracle error, instead, user_define exceptions usually enforce business rules in situations in which an oracle error would not necessarily occur
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which keyword and parameter used for declaring an explicit cursor?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  For which of the following can pragma be applied?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following declares an instance of an object type?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which is a schema object that groups logically related PL/SQL types, items, and subprograms?
Category: Computer Science MCQs,   Published by: T-Code Scripts
MCQs:  Which of the following is used to declare a record?
Category: Computer Science MCQs,   Published by: T-Code Scripts