Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm using an if...then statement and I was wondering what the correct syntax to end it would be.
The help says it is 'end if' -> with space and semicolon
The autocomplete suggests 'endif'
So my question is:
I was just trying something simple like:
if ComputerName() = '01.....' then
SET test = 1;
Else
SET test = 2;
END IF
Appreciate any help. Thanks!