Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
write a SP with department number as parameter, a percentage as another parameter, and a count as an output parameter, increase budgets of projects (controlled by the department) by the specified percentage and find out number of unique employees working for projects controlled by the department.

write a SP with a project number as parameter, list(select) the department that controls the project, and list (select) other projects controlled by the same department.


write a SP, given a project number as parameter, return the number of unique job title of this project as an output parameter, and the number of unique job title of the project's workers in other projects as another output parameter.
Posted
Updated 2-Mar-15 13:23pm
v2
Comments
BacchusBeale 2-Mar-15 18:56pm    
You need to show what you have done and where you are having problems.
PIEBALDconsult 2-Mar-15 19:22pm    
We don't do homework.
Santosh K. Tripathi 2-Mar-15 22:41pm    
what is issue in writing SP?

1 solution

Instead of waiting for someone to do it for you which is unlikely to happen, read this articles:
1. Sql Server - How to write a Stored procedure in Sql server[^]
2. SQL Tutorial[^]
Use them as references to solving your homework by yourself.
Start cracking...
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900