What is the equivalent of the null safe equality operator <=> in SQLite?

I need to define what is the equivalent for the SQLite <=> operator in MySQL.

Any idea?

+3


source share


2 answers


The IS and IS NOT operators work like = and! = Except when one or both of the operands are NULL. In this case, if both operands are NULL, then the IS operator evaluates to 1 (true) and the IS NOT operator evaluates to 0 (false)



http://www.sqlite.org/lang_expr.html#isisnot

+6


source


I just found the "IS" operator, but not sure if it has exactly the same behavior?



+2


source







All Articles