[tsql] How to check if a column is empty or null using SQL query select statement?