If « Transact SQL « SQL Server / T-SQL






1.IF and else IF
2.Conditional Logic IF
3.ELSE: execute another line of script when the condition is not met
4.IF and EXISTS function
5.If statement
6.If else statement
7.if and else if statement