About 52 results
Open links in new tab
  1. sql - isnull vs is null - Stack Overflow

    Jul 27, 2015 · isnull(name,'') <> :name is shorthand for (name is null or name <> :name) (assuming that :name never contains the empty string, thus why shorthands like this can be bad). Performance …

  2. SQL - Difference between COALESCE and ISNULL? [duplicate]

    Sep 16, 2013 · What are the practical differences between COALESCE() and ISNULL(,'')? When avoiding NULL values in SQL concatenations, which one is the best to be used? Thanks!

  3. sql - Using IsNull () in a WHERE clause - Stack Overflow

    Feb 10, 2017 · Using IsNull () in a WHERE clause Asked 9 years ago Modified 6 years, 4 months ago Viewed 11k times

  4. What does the equals one mean - ISNULL (something, 1) = 1

    Nov 15, 2018 · Your query Isnull(something, 1) = 1 is saying to return something which has only null value with 1. I would re-write it as to make it Sargable :

  5. What is the PostgreSQL equivalent for ISNULL () - Stack Overflow

    Jan 14, 2012 · I don't know what ISNULL you commenters are referring to, but field IS NULL gives a boolean value, while ISNULL in SQL Server operates like COALESCE: it returns one of the non- …

  6. What is the Oracle equivalent of SQL Server's IsNull() function?

    Aug 19, 2010 · 160 coalesce is supported in both Oracle and SQL Server and serves essentially the same function as nvl and isnull. (There are some important differences, coalesce can take an …

  7. How do I check if a Sql server string is null or empty

    SELECT IIF(field IS NULL, 1, 0) AS IsNull The same way you can check if field is empty.

  8. SQL IsNull function - Stack Overflow

    Dec 1, 2022 · I saw a sql code using the isNull function in the where clause, similar like below:date&gt;isNull(date1,date2) Can someone explain what this means? Many Thanks! Michelle

  9. SQL Server Check for IsNull and for Zero - Stack Overflow

    Feb 24, 2009 · CASE WHEN @VariableEqualToZero IS NULL OR @VariableEqualToZero = 0 THEN 1 ELSE @VariableEqualToZero END COALESCE and ISNULL are essentially just shortcuts for a …

  10. MySQL ifNull vs isNull? - Stack Overflow

    Jun 14, 2023 · ISNULL() returns boolean value always, and it cannot return NULL. IFNULL() can return a value of any general type (MySQL uses the datatype which is the most common for both …