luvtitans50
MIS
I have 2 parameters that I am passing in:
@StartDate datetime, @EndDate datetime
isnull(oc.updatedate,oc.createdate) between @startdate and @enddate
If I enter @StartDate = '2010-02-01
@EndDate = '2010-02-01
and the field value = 2010-01-21 11:41:00, no data returns?
What can I do to ensure that the records is pulled back?
Thanks,
@StartDate datetime, @EndDate datetime
isnull(oc.updatedate,oc.createdate) between @startdate and @enddate
If I enter @StartDate = '2010-02-01
@EndDate = '2010-02-01
and the field value = 2010-01-21 11:41:00, no data returns?
What can I do to ensure that the records is pulled back?
Thanks,