Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Develop and test the following stored procedures. A procedure that accepts an employee number and lists all information for that employee. Display a message
Develop and test the following stored procedures.
- A procedure that accepts an employee number and lists all information for that employee. Display a message if the employee number is invalid.
- A procedure that accepts a date as a parameter and displays the employee number and first and last names for all employees who were born on or after that date. Print a message if no employees meet the criteria.
- A procedure that accepts a store code as a parameter and displays the first and last names and date of birth for all employees who work in that store. Place the listing in alphabetical order by last and first names. Display a message if the store code is invalid.
- A procedure that accepts an employee code and a store code as parameters and prints a message as to whether that employee works in that store. Print a message if the store code or employee code is invalid.
Step by Step Solution
★★★★★
3.36 Rating (146 Votes )
There are 3 Steps involved in it
Step: 1
1 Procedure to List Employee Information DELIMITER CREATE PROCEDURE GetEmployeeInfoIN empNumber INT ...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