Question
Create function called getEmpLastName that takes as parameter employee id value and returns employee's last name. Remember to put exception toward the very end of
Create function called getEmpLastName that takes as parameter employee id value and returns employee's last name. Remember to put exception toward the very end of the function.
Template:
CREATE OR REPLACE FUNCTION getEmpLastName ( parameters )
RETURN datatype IS
variables; (Optional)
BEGIN
code;
RETURN expression;
EXCEPTION
WHEN OTHERS THEN
RETURN 'NO EMPLOYEE FOUND';
END;
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 StartedRecommended Textbook for
Fundamentals of Financial Accounting
Authors: Fred Phillips, Robert Libby, Patricia Libby
5th edition
78025915, 978-1259115400, 1259115402, 978-0078025914
Students also viewed these Databases questions
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
Question
Answered: 1 week ago
View Answer in SolutionInn App