Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please explain answer Consider the CREATE PROCEDURE command shown in the figure (lines 95 through 114). The words IN that you see in line 97

Please explain answer

image text in transcribed

Consider the CREATE PROCEDURE command shown in the figure (lines 95 through 114). The words IN that you see in line 97 and line 98 are completely optional. That is, if you dropped the procedure and recreated it after deleting the word IN from both line 97 and line 98, the stored procedure would function exactly the same after the change 95 CREATE PROCEDURE update invoices credit total 96 97 invoice_numb er_param IN VARCHAR2 98 credit_total_param IN NUMBER 99 update_count OUT INTEGER 100 101 AS 102 BEGIN 103 UPDATE invoices 104 SET credit total credit_total_param 105 WHERE invoice number invoice number param 106 SELECT COUNT INTO update_count 10 108 WHERE invoice number-invoice number param 109 COMMIT 110 EXCEPTION 111 WHEN OTHERS THEN 112 SELECT 0 INTO update_count FROM dual 113 ROLLBACK 114 END 115 FROM invoices O True False

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

Database Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions

Question

Provide examples of Dimensional Tables.

Answered: 1 week ago