Sqlserver
 sql >> Base de données >  >> RDS >> Sqlserver

IS NULL vs =NULL dans la clause where + SQL Server

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