About 543,000 results
Open links in new tab
  1. How to use NULL or empty string in SQL - Stack Overflow

    I would like to know how to use NULL and an empty string at the same time in a WHERE clause in SQL Server. I need to find records that have either null values or an empty string. Thanks.

  2. How do I check if a SQL Server text column is empty?

    Aug 29, 2008 · 218 I am using SQL Server 2005. I have a table with a text column and I have many rows in the table where the value of this column is not null, but it is empty. Trying to …

  3. How to check for Is not Null And Is not Empty string in SQL server ...

    Nov 13, 2016 · How can we check in a SQL Server WHERE condition whether the column is not null and not the empty string ('')?

  4. sql - How to check for null/empty/whitespace values with a single …

    Testing on SQL Server 2017, this does work for multiple white spaces without TRIM. It doesn't make sense to me, because according the documentation NULLIF should return NULL only if …

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

    I want to check for data, but ignore it if it's null or empty. Currently the query is as follows...

  6. t sql - How to check if a column is empty or null using SQL query ...

    How do I check if a column is empty or null using a SQL select statement? For instance, if I want to check: select * from UserProfile WHERE PropertydefinitionID in (40, 53) and PropertyValue …

  7. SQL Server: Null VS Empty String - Stack Overflow

    Apr 11, 2011 · How are the NULL and Empty Varchar values stored in SQL Server. And in case I have no user entry for a string field on my UI, should I store a NULL or a '' ?

  8. sql - Best way to check for "empty or null value" - Stack Overflow

    What is best way to check if value is null or empty string in Postgres sql statements? Value can be long expression so it is preferable that it is written only once in check. Currently I'm using:

  9. sql - Empty string vs NULL - Stack Overflow

    Nov 17, 2016 · 2 Null is an absence of a value. An empty string is a value, but is just empty. Null is special to a database. Null has no bounds, it can be used for string, integer, date, etc. fields …

  10. How do I check if a column is empty or null in MySQL?

    374 I have a column in a table which might contain null or empty values. How do I check if a column is empty or null in the rows present in a table?