Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Database Administration Oracle ***create a named procedure named DDI.DISPLAY_ROOMCNT*** - Set echo on - Set SERVEROUT ON FORMAT TRUNCATED - Set up a spool file

Database Administration Oracle

***create a named procedure named DDI.DISPLAY_ROOMCNT***

- Set echo on

- Set SERVEROUT ON FORMAT TRUNCATED

- Set up a spool file to receive your output for submission. I would suggest c:\cs423\S3project2spool.txt

- Create a copy of c:\cs423\S2project1.txt as c:\cs423\S3project2.txt and change the DECLARE block to a CREATE OR REPLACE PROCEDURE named DDI.DISPLAY_ROOMCNT

- Modify the loop to use a cursor

- Compile and run your report

(If there are errors, SHOW ERRORS to see what needs to be corrected)

- Run the procedure using the SQL EXEC statement.

- Close the spool file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning MySQL Get A Handle On Your Data

Authors: Seyed M M Tahaghoghi

1st Edition

0596529465, 9780596529468

More Books

Students explore these related Databases questions