Which of the following correctly creates a function that performs an update on the BB_TEST1 table?
A) CREATE OR REPLACE FUNCTION fct_test1_sf (p_num IN NUMBER)
RETURN NUMBER
IS
BEGIN
UPDATE bb_test1
SET col1 = p_num;
RETURN p_num;
END;
B) CREATE OR REPLACE FUNCTION fct_test1_sf (p_num IN NUMBER)
RETURN NUMBER
IS
BEGIN
UPDATE bb_test1;
SET col1 = p_num;
RETURN p_num;
END;
C) CREATE OR REPLACE FUNCTION fct_test1_sf (p_num)
RETURN NUMBER
IS
BEGIN
UPDATE bb_test1
RETURN p_num;
END;
D) CREATE OR REPLACE FUNCTION fct_test1_sf (p_num IN NUMBER(6) )
RETURN NUMBER
IS
BEGIN
UPDATE bb_test1
SET col1 = p_num;
RETURN p_num
END
Correct Answer:
Verified
Q29: Which of the following statements is incorrect?
A)
Q30: All of the following represent restrictions on
Q31: _ refer to the parameters that are
Q32: Which of the following code fragments would
Q33: The _ purity level does not modify
Q35: The term _ is identified with a
Q36: _ refer to the arguments that are
Q37: Deleting a program unit can be accomplished
Q38: The following code is an example of
Q39: Which of the following code fragments would
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents