About 41,800 results
Open links in new tab
  1. How do I check if a Sql server string is null or empty

    13 In SQL Server 2012 you have IIF, e.g you can use it like SELECT IIF(field IS NULL, 1, 0) AS IsNull The same way you can check if field is empty.

  2. Is there a opposite function to ISNULL in sql server? To do Is not …

    There is no opposite function but you can do it without CASE. Use the fact that a string + 'something' will be NULL if string is NULL, and if that is null then use ISNULL to return …

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

    Feb 6, 2010 · 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 …

  4. replace NULL with Blank value or Zero in sql server

    Oct 1, 2013 · Different ways to replace NULL in sql server Replacing NULL value using: 1. ISNULL () function 2. COALESCE () function 3. CASE Statement SELECT Name as …

  5. Is there is any Performance issue while using ISNULL() in SQL Server?

    Jan 19, 2012 · I am using ISNULL in MS SQl server 2008, since my table is too huge, whether using of ISNULL may cause any thing to the performance ?. Thanks in advance

  6. SQL Server Case Statement when IS NULL - Stack Overflow

    Jul 26, 2013 · I'm trying to do an IF statement type function in SQL server. Where there is a NULL in the field, I want it to take a field from one of the tables and add 10 days to it. And if possible …

  7. 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!

  8. null - IsNull function in DB2 SQL? - Stack Overflow

    0 COALESCE function same ISNULL function Note. you must use COALESCE function with same data type of column that you check is null.

  9. 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 …

  10. 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>isNull(date1,date2) Can someone explain what this means? Many Thanks! …