Answered step by step
Verified Expert Solution
Link Copied!

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.

 

  1. A procedure that accepts an employee number and lists all information for that employee.  Display a message if the employee number is invalid.
  2. 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.
  3. 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.
  4. 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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting Information Systems

Authors: George H. Bodnar, William S. Hopwood

11th Edition

0132871939, 978-0132871938

More Books

Students also viewed these Databases questions

Question

3 Identify the steps in the marketing planning process.

Answered: 1 week ago