SyntaxFix
Write A Post
Hire A Developer
Questions
To check if variable is null or empty use this:
IF LEN(ISNULL(@var, '')) = 0 -- Is empty or NULL ELSE -- Is not empty and is not NULL