Hello, need to replace NULL values with text (letter A or ... or N/A)
Example If is null to write ...
Error is
Conversion failed when converting the varchar value 'A1' to data type int.
SELECT (CASE WHEN prazno2 IS NULL THEN CONCAT('A',id) ELSE prazno2 END) as Rb FROM DBO.cte
Goran BibicPosted Jul 17, 2022, 9:39 AM
Sachin SinghPosted Jul 17, 2022, 9:14 AM
Goran BibicPosted Jul 17, 2022, 8:56 AM
Sachin SinghPosted Jul 17, 2022, 8:15 AM
Goran BibicPosted Jul 17, 2022, 7:58 AM
Sachin SinghPosted Jul 17, 2022, 7:55 AM