T-SQL: IF Conditional Syntax











IF SomeCondition
BEGIN
-- Execute some code here
END
ELSE
BEGIN
-- Execute some code here
END
Else is optional

Comments

Popular posts from this blog

Docker : Adding Docker Repository Key and Updating Docker To The Latest Version

ASP.NET Core : Adding The Default View With _ViewStart.cshtml

Enable ASP.NET Core to Serve Static Files