hi
i have 2 tables empoloyee with columns empname,empid,deptid and department deptname,deptid..
i want to write a stored procedure for delete the department when there is no employees existing in taht department other wise the department is not deleted..
for that iam writing 2 sored procedure one for checking the employees exist and 2nd one for deleeting the department..
i want to write single stored procedure for that..plz help me in writing the procedure..
Regards,
Bhanu Prakash Bysani