WHERE statements WHERE DeletedDate IS NULL WHERE DeletedDate IS NOT NULL UPDATE statements UPDATE your_table SET your_column = NULL Is result Null? if (is_null($Result['MyColumnName']))