in store procedure declare youe variable like this and if your integer is null send it as null don't send it as zero otherwise you have to add another condition in sqlserver.
@parametre1 int=null,
@parametre2 varchar(50)=null,
@parametre3 varchar(50)==null,
@parametre4 varchar(50)==null
then check if parametre is null or not and write your respective query