Let's assume i have a query
SELECT val FROM tbl
I want to write query that will output "ValueIsNotNull" when val is not null and "ValueIsNull" when val is null. Is it possible to do this with one line. As of now i found only ISNULL(val,'ValueIsNull') AS val1. But if value is not null then original value is printed.