PL/SQL INTERVIEW QUESTION & ANSWERS
Databases
Follow Us
TAGS
56. | What is the Subquery? |
---|---|
A subquery is a query (usually enclosed by parentheses) that appears within another SQL data manipulation statement. The statement acts upon the single value or set of values returned by the subquery. |
Posted by Hema Kondalarao. (May 13, 2013) | |
Normal sub query works as: |
57. | What is correlated subquery? |
---|---|
While a subquery is evaluated only once for each table, a correlated subquery is evaluated once for each row. |
58. | What is an PL/SQL Procedures? |
---|---|
A procedure is a subprogram that performs a specific action. You write procedures using the SQL CREATE PROCEDURE statement. You specify the name of the procedure, its parameters, its local variables, and the BEGIN-END block that contains its code and handles any exceptions. |
59. | What is Database Triggers? |
---|---|
A database trigger is a stored subprogram associated with a database table, view, or event. The trigger can be called once, when some event occurs, or many times, once for each row affected by an INSERT, UPDATE, or DELETE statement. The trigger can be called after the event, to record it or take some followup action. Or, the trigger can be called before the event to prevent erroneous operations or fix new data so that it conforms to business rules. |
60. | What are the types of PL/SQL Triggers? |
---|---|
|