2 related questions.... first, if I want to insert a null into a database what do I call it? Like I say
INSERT INTO table (one two three)
VALUES ('one', 'NULL', 'three')
what do I call that null? will SQL server understand the 'NULL'?
Now, the reverse. If I say
SELECT * FROM table where id = 1
and lets say one of the fields where id = 1 is null in the database, how do I compare in ASP?
if response("field") = "" then
or
if response("field") = nothing then
if response("field") = "NULL"
what's the right way?
INSERT INTO table (one two three)
VALUES ('one', 'NULL', 'three')
what do I call that null? will SQL server understand the 'NULL'?
Now, the reverse. If I say
SELECT * FROM table where id = 1
and lets say one of the fields where id = 1 is null in the database, how do I compare in ASP?
if response("field") = "" then
or
if response("field") = nothing then
if response("field") = "NULL"
what's the right way?
