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