Question: For alFor all the implemented tasks, your report or output must include a listing of all PL / SQL statements processed. To achieve that put
For alFor all the implemented tasks, your report or output must include a listing of all PLSQL statements processed. To achieve that put the following SQLPlus commands in all your scripts:
SPOOL filename
SET ECHO ON
SET FEEDBACK ON
SET LINESIZE
SET PAGESIZE
SET SERVEROUTPUT ON
at the beginning of SQL script and
SPOOL OFF
at the end of SQL script.
PLSQL Function
Implement a stored PLSQL function FINDDEPENDENTS that finds the names of dependents of an employee by given employees numbere# The function must return a string of characters that contains all dependents names. All names of dependents must be separated by commas
Execute the stored PLSQL function FINDEPENDENTS.
When ready append all solutions for the questions above into an SQL script file solutionsql Next, process the entire script and spool the output to a spool file solutionOutput.lst
Deliverables
Submit your spooled file solutionOutput.lst that contains your SQL script and the output from the execution of the script solutionsql The report must have no errors related to the implementation of your task and it must list all PLSQL and SQL statements processed.
Remember to set ECHO option of SQLPlus to ONl the implemented tasks, your report or output must include a listing of all PLSQL statements processed. To achieve that put the following SQLPlus commands in all your scripts:
SPOOL filename
SET ECHO ON
SET FEEDBACK ON
SET LINESIZE
SET PAGESIZE
SET SERVEROUTPUT ON
at the beginning of SQL script and
SPOOL OFF
at the end of SQL script.
PLSQL Function
Implement a stored PLSQL function FINDDEPENDENTS that finds the names of dependents of an employee by given employees numbere# The function must return a string of characters that contains all dependents names. All names of dependents must be separated by commas
Execute the stored PLSQL function FINDEPENDENTS.
When ready append all solutions for the questions above into an SQL script file solutionsql Next, process the entire script and spool the output to a spool file solutionOutput.lst
Deliverables
Submit your spooled file solutionOutput.lst that contains your SQL script and the output from the execution of the script solutionsql The report must have no errors related to the implementation of your task and it must list all PLSQL and SQL statements processed.
Remember to set ECHO option of SQLPlus to ON
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
