Sqlserver
 sql >> Database >  >> RDS >> Sqlserver

IS NULL vs =NULL in dove clausola + SQL Server

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