I have a sql server 2008 stored procedure where I want to use the results of a view in a where statement. I want to check to see if the results from the view is not null.
The sql looks like the following currently:
select top 5 from cust_table
where view value is not null.
Would you show me the t-sql that I would need to use to see if the results from the view is null?