Top "Null" questions

Null means *nothing* or *unknown*, depending on context.

Shortest way to check for null and assign another value if not

I am pulling varchar values out of a DB and want to set the string I am assigning them to …

c# .net null variable-assignment
how to check if a datareader is null or empty

I have a datareader that return a lsit of records from a sql server database. I have a field in …

c# null sqldatareader
HashMaps and Null values?

How do you pass in null values into a HashMap? The following code snippet works with options filled in: HashMap&…

java null hashmap hashcode
How to convert empty spaces into null values, using SQL Server?

I have a table and the columns on this table contains empty spaces for some records. Now I need to …

sql-server null is-empty
Difference between null and empty string

What is the difference between a null string (String s = null) and an empty string (String s = "")? This is what …

java string null nullpointerexception
MySQL and PHP - insert NULL rather than empty string

I have a MySQL statement that inserts some variables into the database. I recently added 2 fields which are optional ($intLat, $…

php mysql null sql-insert
Removing "NUL" characters

I have got characters like that in my notepad++ When i am trying to copy whole line, i am actually …

null char notepad++
How to check if a double is null?

I'm querying a database and some of the results I'm getting are null. I'm setting these values to a variable …

java database null double
What is the PHP syntax to check "is not null" or an empty string?

Possible Duplicate: Check if a variable is empty Simple PHP question: I have this stement: if (isset($_POST["password"]) &&…

php variables null conditional-statements
nil detection in Go

I see a lot of code in Go to detect nil, like this: if err != nil { // handle the error } however, …

go null