DECLARE @result int EXEC @result = xp_cmdshell 'EXEC SP1' if @result = 0 Begin EXEC SP2 End
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)