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

Installing AdventureWorks Sample Databases from Microsoft

Enable ASP.NET Core to Serve Static Files