Home Forums SQL Server 2005 T-SQL (SS2K5) Conditional Execution of A Procedure RE: Conditional Execution of A Procedure
david.chakraborty
SSC-Addicted
Points: 483
More actions
April 16, 2009 at 1:25 pm
#979170
Let me clarify
If the count returns 0 -- I don't run the SP
If count>0 I run the sp
Table will always be there. SP runs when table has data. Doesn't run when table has no data.