MCQs > IT & Programming > Oracle PL/Sql 10g > Examine the following code: CREATE OR REPLACE FUNCTION gen_email (first_name VARCHAR2, last_name VARCHAR2, id NUMBER) RETURN VARCHAR2 IS email_name VARCHAR2(19); BEGIN email_name := SUBSTR(first_name, 1, 1) || SUBSTR(last_name, 1, 7) ||[email protected] .; UPDATE employees SET email = email_name WHERE employee_id = id; RETURN email_name; END; Which of the following statements removes the function?

Oracle PL/Sql 10g MCQs

Examine the following code:
CREATE OR REPLACE FUNCTION gen_email (first_name VARCHAR2,
last_name VARCHAR2,
id NUMBER)
RETURN VARCHAR2 IS
email_name VARCHAR2(19);
BEGIN
email_name := SUBSTR(first_name, 1, 1) ||
SUBSTR(last_name, 1, 7) ||[email protected] .;
UPDATE employees SET email = email_name
WHERE employee_id = id;
RETURN email_name;
END;
Which of the following statements removes the function?

Answer

Correct Answer: DROP FUNCTION gen_email;

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Oracle PL/Sql 10g Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Oracle PL/Sql 10g MCQ Questions

search

Oracle PL/Sql 10g Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it