Some articles I found on the Internet compared ISNULL with COALESCE, so I think my question is a little different.
I am wondering what is better in terms of performance?
SELECT * FROM mytable WHERE mycolumn IS NOT NULL AND mycolumn <> '';
or
SELECT * FROM mytable WHERE COALESCE(mycolumn,'') <> '';
Besides performance, are there other issues that I should consider when deciding?
EDIT:
I am using Teradata.
sql teradata
Russell
source share