Try below in select clause.
select ISNULL( nullif(EmptyOrNullOrBlankColumn,'' ),NULL)
Below in Where Clause.
where ISNULL( nullif(EmptyOrNullOrBlankColumn,'' ),NULL) is not null
SELECT txt.TEXT AS [SQL Statement], qs.EXECUTION_COUNT [No. Times Executed], qs.LAST_EXECUTION_TIME AS [Last Time Executed], ...
No comments:
Post a Comment