daglugub37
Technical User
This is currently working for me:
IF condition
BEGIN
Statements
END
ELSE
BEGIN
Statements
END
However I would like to get something like this to work with an IF nested:
IF condition
BEGIN
Statements
IF CONDITION
BEGIN Statements
RETURN
END
END
ELSE
BEGIN
Statements
END
I can't seem to get the syntax right; keeps erroring on the ELSE. Do I need some parens or brackets or something?
IF condition
BEGIN
Statements
END
ELSE
BEGIN
Statements
END
However I would like to get something like this to work with an IF nested:
IF condition
BEGIN
Statements
IF CONDITION
BEGIN Statements
RETURN
END
END
ELSE
BEGIN
Statements
END
I can't seem to get the syntax right; keeps erroring on the ELSE. Do I need some parens or brackets or something?