I am new to t-SQL and was looking for some help.
Is there a way to display a "space" or Null value in a column when no data is returned for a query.
E.g. If I run the query below
SELECT EMPNAME, EMPMIDDLE Where EMPName='bob'
When I run this query and if there is no Empname as 'bob' then at least one row should be returned. With "bob" in the EMPName columen and "Null" in the EmpMiddle column.
how can I do that in a SELECt Statement
Hope that helps.
thank you for your help
Is there a way to display a "space" or Null value in a column when no data is returned for a query.
E.g. If I run the query below
SELECT EMPNAME, EMPMIDDLE Where EMPName='bob'
When I run this query and if there is no Empname as 'bob' then at least one row should be returned. With "bob" in the EMPName columen and "Null" in the EmpMiddle column.
how can I do that in a SELECt Statement
Hope that helps.
thank you for your help