Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!