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

IS NULL vs =NULL na cláusula where + SQL Server

select column1 from Table1
  where (@param is null and column2 is null)
     or (column2 = @param)