create procedure pr1
@v as int
as
declare @t as int
select @t=count(*) from tbla where b=c and a=@v
if @t>0
pr2----------
@v as int
as
declare @t as int
select @t=count(*) from tbla where b=c and a=@v
if @t>0
pr2----------
@v as int
as
if exists(select 1 from tbla where b=c and a=@v)
return;....