MSSQL

DECLARE @NUM INT

SET @NUM = 0

IF( @NUM = 0 )
    BEGIN

        SQL...

    END

ELSE 
    BEGIN

        SQL...

    END

 

 

+ Recent posts