Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to put is null in where in clause

SELECT *
FROM tbl_name
WHERE 
(id_field IN ('value1', 'value2', 'value3') OR id_field IS NULL)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #put #null #clause
ADD COMMENT
Topic
Name
2+3 =