Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- declare @getCount1 int = 0,
- @getCount2 int = 0,
- @Total int = 0,
- @projectID int,
- @periodID int
- exec @Result1 = [dbo].[QSP_getCount1] @projectID = 1,
- @periodID = 12
- exec @Result2= [dbo].[QSP_getCount2] @projectID = 1,
- @periodID = 12
- set @Total = @Result1 + @Result2
- select @Total
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement