by rootlocus · 9y ago · 0 comments
sqlstring = "SELECT 1 = NULL;"
returnValue = callDB(sqlstring)
if returnValue == "NULL"
// here you go...
end
A solution would be to let the database handle NULL-values: sqlstring = "SELECT 1 IS NULL;" "" + null == "null"