An easy one for anyone who knows. In TSQL Stored Procedures how do you write an if statement comparing the value of a bool. Being accustomed to C# too long I’m putting in curly braces, round braces and all sorts and I think I’m getting it wrong.
Share
If you’ve only got a single line inside the if then you don’t need the
BEGINandEND, but it’s probably good practice to use them anyway.