I have the following code in my sp where I am passing the param:
select count(*) as Voided from Table1 where groupNumber=@GroupID and status='V'
select count(*) as Active from Table1 where groupNumber=@GroupID and status='A'
I wanted to display this way when the sp exec:
Voided x
Active y
Is it possible to do this?
select count(*) as Voided from Table1 where groupNumber=@GroupID and status='V'
select count(*) as Active from Table1 where groupNumber=@GroupID and status='A'
I wanted to display this way when the sp exec:
Voided x
Active y
Is it possible to do this?