There is no setting that provides the behavior you are looking for. You can try below
Dubba != 10 or dubba is null
Usage ISNULL(somecol,val)Not Sargable
there is a setting called SET ANSI_NULLS , but this will not work when comparing
SET ANSI_NULLS , SELECT, WHERE column_name = NULL, , _
SET ANSI_NULLS , SELECT, WHERE column_name = NULL, _
SET ANSI_NULLS is ON Null < > Null
SET ANSI_NULLS is OFF Null = Null
nulls, NULL, nulls -
-: