How to use NULL or empty string in SQL - sql server

PHOTO EMBED

Thu Nov 10 2022 19:26:50 GMT+0000 (Coordinated Universal Time)

Saved by @javicinhio #sql

SELECT ct.ID, 
       ISNULL(NULLIF(ct.LaunchDate, ''), null) [LaunchDate]
FROM   [dbo].[CustomerTable] ct
content_copyCOPY

https://stackoverflow.com/questions/15663207/how-to-use-null-or-empty-string-in-sql