Is NULL not allowed is SQL delete statement (for Derby)?
- by leftbrainlogic
Hello
Does anyone know why the following query fails in Derby?
delete from MyTable
where
((null = null) or (col1 = null)) OR
((102 = null) or (col2 = 102)))
I get the following error:
Error: Syntax error: Encountered "null" at line 3, column 3.
SQLState: 42X01
ErrorCode: -1