Pass in NULL instead of '%' and use the actual dates rather than the varchars....where StartDate between isnull(@date1,StartDate-1) and isnull(@date1,StartDate+1) and...
You really can use the isnull(@variable,fieldvalue) for all the search criteria instead of the '%'. That is to say if you have ProjName as a filed, but this particular search wants all projects, instead of...set @projName = '%'...where ProjName like @ProjName
...you can...where ProjName like isnull(@ProjName,ProjName)
Jay<O>