Sqlserver
 sql >> Base de Dados >  >> RDS >> Sqlserver

Como remover linhas nulas do resultado da consulta sql?

select 
  c.Id, c.FirstName, dbo.GetClientStaffContacts(c.Id, '27,31') as Staff 
from 
  Client c 
where
  dbo.GetClientStaffContacts(c.Id, '27,31') is not null
order 
  by c.Id