Click here to Skip to main content
15,896,727 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want, SQL query for this stored procedure
SQL
CREATE PROCEDURE GetJobReceivedBeyondPC
(
@JobReceivedBeyondPC float output,
)

AS
BEGIN

declare @countJobsDateDiff float
declare @countProdcutivityCapacity float
declare @SumFootage float
	
select @countJobsDateDiff=  query
select @countProdcutivityCapacity = count() from 
select @SumFootage = sum(footage) from 
@JobReceivedBeyondPC = (JobDate*@countProdcutivityCapacity)<@SumFootage

END
Posted
Updated 10-Sep-14 23:44pm
v2

1 solution

Provide the structure of table in order to write the query, along with the required fields
 
Share this answer
 

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