About 27,400 results
Open links in new tab
  1. SQL Server NULLIF () Function - W3Schools

    Definition and Usage The NULLIF () function returns NULL if two expressions are equal, otherwise it returns the first expression. Syntax NULLIF (expr1, expr2)

  2. NULLIF (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · NULLIF returns the first expression if the two expressions are not equal. If the expressions are equal, NULLIF returns a null value of the type of the first expression.

  3. SQL NULLIF Function

    In this tutorial, you will learn how to use the SQL NULLIF function to compare two values and return NULL if they are equal.

  4. NULLIF () Function in SQL Server - GeeksforGeeks

    Jul 23, 2025 · The NULLIF () function simplifies SQL queries by reducing the need for complex conditional logic using CASE statements. It is commonly used to prevent errors such as division by …

  5. NULLIF - Oracle Help Center

    Purpose NULLIF compares expr1 and expr2. If they are equal, then the function returns null. If they are not equal, then the function returns expr1. You cannot specify the literal NULL for expr1.

  6. nullif function | Databricks on AWS

    Nov 9, 2023 · Learn the syntax of the nullif function of the SQL language in Databricks SQL and Databricks Runtime.

  7. SQL Server NULLIF

    This tutorial introduces you to the SQL Server NULLIF expression and gives you some practical examples of using the NULLIF expression.

  8. NULLIF | Snowflake Documentation

    Reference Function and stored procedure reference Conditional expression NULLIF Categories: Conditional expression functions NULLIF Returns NULL if expr1 is equal to expr2, otherwise returns …

  9. Handling NULL with NULLIF and ISNULL – Chad Callihan

    Apr 7, 2025 · If you want to check data and return a NULL value, you can use the NULLIF function. If you want to check for a NULL value and return a different value, use the ISNULL function.

  10. Oracle NULLIF Function

    This tutorial shows you how to use the Oracle NULLIF function with syntax and practical examples.