Answered step by step
Verified Expert Solution
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started