Sqlserver
 sql >> Datenbank >  >> RDS >> Sqlserver

IS NULL vs =NULL in where-Klausel + SQL Server

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