Change NULL values in Datetime format to empty string September 17, 2023 by Tarik CASE and CAST should work: CASE WHEN mycol IS NULL THEN '' ELSE CONVERT(varchar(50), mycol, 121) END