AND (StartDate Between (@StartDate) AND (@EndDate)<br />
OR @StartDate Between (StartDate) AND (EndDate) <br />
OR @EndDate Between (StartDate) AND (EndDate)<br />
OR EndDate Between (@StartDate) AND (@EndDate)))>0
Given that the date formats are appropriate just the following two conditions should be sufficient to run the query.
The other two conditions don't make much sense.
(StartDate Between (@StartDate) AND (@EndDate) OR<br />
EndDate Between (@StartDate) AND (@EndDate))