SyntaxFix
Write A Post
Hire A Developer
Questions
Yes, that code does exactly that.
You can also use:
if (@value is null or @value = '')
With the added information that @value is an int value, you need instead:
@value
int
if (@value is null)
An int value can never contain the value ''.
''