Hi,
Trying to do a ‘null’ comparison on a column returned from custom query. The query is set as ‘top 1’ so it returns 1 row always.
Output in console:
This condition is being returned as false. Not sure if this is a bug or I am doing something wrong.
Running this on localhost IIS & SQL Server.
I have tried:
-
> 0
- Error: cannot convert Null to Double. -
!
- Error: cannot convert Null to Boolean. -
!= null
Returns true. -
== NULL
Returns false. -
== 'null'
Returns false.
Please help.