isnull in sql server query code example Example: isnull sql server SELECT ISNULL(ValueToBeTested, ReturnValueIfNull);