Question: SPOOL your output to c:cs422aproject5spool.txt DECLARE a record variable, a variable to keep track of a change in RoomNum, and two accumulators Add procedures to
SPOOL your output to c:\cs422a\project5spool.txt DECLARE a record variable, a variable to keep track of a change in RoomNum, and two accumulators Add procedures to the DECLARE block to print a Head of Form, subtotals, and a grand total In the BEGIN block add a select statement to read all the ledger records in DDI.LEDGER_VIEW ordered by RoomNum and RegDate Add a LOOP Use DBMS__OUTPUT.PUT statements to print all the values for each record on a single line. End with a DBMS_OUTPUT.NEW_LINE After the LOOP be sure to print the final subtotal and the grand tota Compile and run the procedure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
