Sql isnull in where clause In most cases this check_expression parameter is a simple column value but can be a literal value or any valid SQL expression. isGroup from recipients r left join users u on u. ISNULL ( check_expression , replacement_value ) Syntax of SQL Server ISNULL() Function. Click here for 50% off a health check: Click here to get access to my performance tuning library for about $150 USD. tel_type_id = 3 AND F. col1=isnull(table2. Aug 26, 2016 ยท One way is to use dynamic SQL, using a null check to optionally add that part of the where clause. Return: boolean: If(boolean testCondition, T valueTrue, T valueFalseOrNull) Similar to IF condition existing on SQL queries. Let’s explore SQL ISNULL with examples. Return: boolean: isnotnull ( a ) This returns a true when the value of a (column) is NOT NULL otherwise it returns false. ucauolghdxdlssyqkrpoyzxllaodrqbkqigmsxygsujxicgymvedbuvrmgbavzhddixeljajtijmp