Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to check if a row is null in sql

--Checks both null and empty

SELECT * 
  FROM T
 WHERE NULLIF(some_col, ' ') IS NULL;
 
PREVIOUS NEXT
Tagged: #check #row #null #sql
ADD COMMENT
Topic
Name
1+7 =