D dwn.220.v.ua

sql server case null check

select id, StartDate, CASE WHEN StartDate IS NULL THEN 'Awaiting'...

📦 .zip⚖️ 33.7 MB📅 28 Feb 2026

select id, StartDate, CASE WHEN StartDate IS NULL THEN 'Awaiting' ELSE Also, it will no longer work in upcoming versions of SQL server.

⬇ Download Full Version

You are using the wrong style of CASE - you need to use CASE WHEN expressio...

📦 .zip⚖️ 101.4 MB📅 25 Nov 2025

You are using the wrong style of CASE - you need to use CASE WHEN expression> THEN not CASE WHEN then.

⬇ Download Full Version

I agree with Joachim that you should replace the hyphen with NULL. But, if ...

📦 .zip⚖️ 92.6 MB📅 08 May 2026

I agree with Joachim that you should replace the hyphen with NULL. But, if you really do want a hyphen, convert the date to a string: (CASE.

⬇ Download Full Version

CASE WHEN last_name IS NULL THEN '' ELSE ' '+last_name ...

📦 .zip⚖️ 80.4 MB📅 18 May 2026

CASE WHEN last_name IS NULL THEN '' ELSE ' '+last_name END . After the when, there is a check for equality, which should be true or false. a concern since the OFF mode is going away in future versions of SQl Server.

⬇ Download Full Version

SQL Server. > CASE dwn.220.v.uaption WHEN NULL THEN 'I am Null'...

📦 .zip⚖️ 120.9 MB📅 23 Mar 2026

SQL Server. > CASE dwn.220.v.uaption WHEN NULL THEN 'I am Null' ELSE 'This is else' However NULL = NULL if false and hence you can't use this form in your SQL Its CASE WHEN if you do expression check with dwn.220.v.ua Statement when not null, else if Help.

⬇ Download Full Version

CASE [myRow] WHEN 1 THEN 'True' WHEN NULL THEN 'False' ...

📦 .zip⚖️ 57.6 MB📅 12 Feb 2026

CASE [myRow] WHEN 1 THEN 'True' WHEN NULL THEN 'False' -- this The IS keyword isn't a comparision of a value, but a checking of a  CASE vs ISNULL? Which is faster?

⬇ Download Full Version

Did you try: CASE WHEN (ID IS NULL) THEN 'YES' ELSE 'NO'...

📦 .zip⚖️ 67.3 MB📅 14 Sep 2025

Did you try: CASE WHEN (ID IS NULL) THEN 'YES' ELSE 'NO' END AS ID_Value,. I only have access to right now, but I'd hope that this.

⬇ Download Full Version

Imagine you want to find all the null values in a column in a database tabl...

📦 .zip⚖️ 28.9 MB📅 11 Jan 2026

Imagine you want to find all the null values in a column in a database table (SQL Server). x 1 2 NULL 4 5 Here is the SQL that performs the task.

⬇ Download Full Version

I have written as case custtype when null then 'Unknown' when 1 t...

📦 .zip⚖️ 119.9 MB📅 09 Dec 2025

I have written as case custtype when null then 'Unknown' when 1 then 'AAA' else 'BB' end but its not working how do we check for nulls.

⬇ Download Full Version

To check if a specific SQL Server database is case sensitive, run this quer...

📦 .zip⚖️ 22.8 MB📅 13 Mar 2026

To check if a specific SQL Server database is case sensitive, run this query: SELECT 'your_table_name' AND CHARACTER_SET_NAME IS NOT NULL.

⬇ Download Full Version

T-SQL CASE Statement checking for NULL. July 17th, Dan. I have found after ...

📦 .zip⚖️ 75.2 MB📅 22 Mar 2026

T-SQL CASE Statement checking for NULL. July 17th, Dan. I have found after much annoyance, that an SQL query I had in production was incorrectly.

⬇ Download Full Version

This SQL Server tutorial explains how to use the IS NOT NULL condition in S...

📦 .zip⚖️ 120.9 MB📅 10 Apr 2026

This SQL Server tutorial explains how to use the IS NOT NULL condition in SQL Server (Transact-SQL) with syntax and examples. The SQL Server.

⬇ Download Full Version

Question: I'm trying to write a case statement that will query the max...

📦 .zip⚖️ 94.8 MB📅 21 Jan 2026

Question: I'm trying to write a case statement that will query the maximum date from a table, and if the result is null- return sysdate. select max(case somedate.

⬇ Download Full Version

Let's say we enter the expression, and we check the first WHEN clause,...

📦 .zip⚖️ 95.7 MB📅 24 Dec 2025

Let's say we enter the expression, and we check the first WHEN clause, . In this case I am relying on the fact that SQL Server chose to Note that it can still return NULL just like the first query in the preceding code sample.

⬇ Download Full Version

Suppose that the "UnitsOnOrder" column is optional, and may conta...

📦 .zip⚖️ 115.1 MB📅 12 Sep 2025

Suppose that the "UnitsOnOrder" column is optional, and may contain NULL The SQL Server ISNULL() function lets you return an alternative value when an.

⬇ Download Full Version