declare
@inputStartDate datetime = '2017-02-01',
@inputEndDate datetime = '2017-04-20'
endDate>=@inputStartDate and BeginDate<=@inputEndDate
declare
@inputStartDate datetime = '2017-02-01',
@inputEndDate datetime = '2017-04-20'
endDate>=@inputStartDate and BeginDate<=@inputEndDate