I need to filter the SQL query result according to 3 conditions: 1. Location 2. Doctor Name 3. Specialty Name
Below is the sql query if all 3 conditions are
select Location, ... from clinicdoctors where ISNULL(@Location,Location) = Location and ISNULL(@DoctorName,DoctorName) = DoctorName and ISNULL(@SpecialtyName,SpecialtyName) = SpecialtyName