@DoctorName varchar(255),@Degree varchar(255),@Speciality varchar(255),@TelNumber varchar(255),@District varchar(255),@State varchar(255),@Country varchar(255),@Email varchar(255)ASBEGINselect DoctorName,Degree,Speciality,TelNumber,Taluk,District,State,Country from Doctorslist where DoctorName = isnull(@DoctorName,DoctorName)and TelNumber = isnull(@TelNumber,TelNumber)and State = isnull(@State,State) and Country = isnull(@Country,Country)and Speciality = isnull(@Speciality,Speciality)and Degree = isnull(@Degree,Degree)and TelNumber = isnull(@TelNumber,TelNumber)and District = isnull(@District,District)and Email = isnull(@Email,Email)END