Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

if else sql

IF Boolean_expression
BEGIN
    -- Statement block executes when the Boolean expression is TRUE
END
ELSE
BEGIN
    -- Statement block executes when the Boolean expression is FALSE
END
Source by www.sqlservertutorial.net #
 
PREVIOUS NEXT
Tagged: #sql
ADD COMMENT
Topic
Name
3+6 =