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 calculatebudget
IS
vbudget studio.yearlybudgetTYPE;
vstudiorec studioROWTYPE;
BEGIN
SELECT INTO vstudiorec
FROM studio
WHERE NAME 'Vince Productions';
vbudget : getbudget vstudiorec.id;
IF vbudget THEN
setbudget ;
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 CALCULATEBUDGET procedure would be marked valid and would automatically compile successfully upon the next execution.
C
The CALCULATEBUDGET procedure would be marked invalid and would automatically compile successfully upon the next execution.
D
The CALCULATEBUDGET 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
