create a stored procedure using Sybase or Microsoft that will delete an employee from a sample emp
Fantastic news! We've Found the answer you've been seeking!
Question:
create a stored procedure using Sybase or Microsoft that will delete an employee from a sample "emp" table. This table probably exists in your database already but if it does not, there is code to create it in the HW directory. Make sure you use proper transaction control and error checking as described in class.
1. Log into your Sybase or Microsoft server and verify you have an "emp" table. If not, create one from the available script.
2. Create a procedure called usp_delete_yourName. This procedure will take a single integer value as input and delete the employee with that emp_id. I would recommend you create this procedure in a text file first, then copy it to a command tool for compilation and execution (as shown in class). Below is an example (not complete) of what your procedure might look like:
.
.
End
Related Book For
Modern Systems Analysis And Design
ISBN: 9780134204925
8th Edition
Authors: Joseph Valacich, Joey George
Posted Date: