sql check if value is not null or empty code example
Example 1: how to check if a column is null in sql
SELECT column_name FROM table_name
WHERE column_name IS NULL;
Example 2: sql check for null and empty string
IF ISNULL(@param) OR @param = '' THEN doSomething...