Thanks to all Actually I solved this problem by adding like this
@DoctorName varchar(255),
@Degree varchar(255),
@Speciality varchar(255),
@TelNumber varchar(255),
@District varchar(255),
@State varchar(255),
@Country varchar(255),
@Email varchar(255)
AS
BEGIN
DECLARE @sql AS NVarchar(4000)
SET @sql = 'select DoctorName,Degree,Speciality,TelNumber,Taluk,District,State,Country from Doctorslist where (1=1)'
if @DoctorName is not null
set @sql = @sql + ' And DoctorName =''' + @DoctorName + ''''
if @Degree is not null
set @sql = @sql + ' And Degree =''' + @Degree + ''''
if @Speciality is not null
set @sql = @sql + ' And Speciality =''' + @Speciality + ''''
if @TelNumber is not null
set @sql = @sql + ' And TelNumber =''' + @TelNumber + ''''
if @District is not null
set @sql = @sql + ' And District =''' + @District + ''''
if @State is not null
set @sql = @sql + ' And State =''' + @State + ''''
if @Country is not null
set @sql = @sql + ' And Country =''' + @Country + ''''
if @Email is not null
set @sql = @sql + ' And Email =''' + @Email + ''''
EXEC(@sql)
END
Mr. Maciej Los is helped me to do this changes.