Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Examine this procedure: CREATE OR REPLACE PROCEDURE calculate _ budget IS v _ budget studio.yearly _ budget % TYPE; v _ studio _ rec studio

Examine this procedure:
CREATE OR REPLACE PROCEDURE calculate_budget
IS
v_budget studio.yearly_budget%TYPE;
v_studio_rec studio%ROWTYPE;
BEGIN
SELECT *INTO v_studio_rec
FROM studio
WHERE NAME = 'Vince Productions';
v_budget := get_budget (v_studio_rec.id);
IF v_budget <30000000 THEN
set_budget (11,300000000);
END IF;
END;
Which effect could you expect if a new column were added to the studio table?
A.
Since the code references %ROWTYPE, no affect will be noticed.
B.
The CALCULATE_BUDGET procedure would be marked valid and would automatically compile successfully upon the next execution.
C.
The CALCULATE_BUDGET procedure would be marked invalid and would automatically compile successfully upon the next execution.
D.
The CALCULATE_BUDGET procedure would be marked invalid and would automatically compile unsuccessfully upon the next execution.

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

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions