Home Forums Article Discussions Article Discussions by Author Discuss Content Posted by James Travis Understanding the difference between IS NULL and = NULL RE: Understanding the difference between IS NULL and = NULL
sara karasik
SSCommitted
Points: 1573
More actions
June 3, 2005 at 9:36 am
#562958
Familiarize yourself with the SQL function isnull().
When comparing a field which may have a null value, instead of = CustomerID
use = isnull(CustomerID, '')
which means: If the customerid is null, treat it as '', an empty string.
Good Luck