I have query like this
SELECT AVAILABILITY_DATE_TIME FROM APPT_PROVIDER_AVAILABILITY
WHERE AVAILABILITY_DATE_TIME between @START_DATE AND @END_DATE
suppose i have if @startdate = '2/11/2010 11:31:00 AM' and @enddate = '2/11/2010 11:56:00 AM'
then difference is zero its ignoring time part .
If you can provide query plz use
table name : APPT_PROVIDER_AVAILABILITY , column name : AVAILABILITY_DATE_TIME
and @start_date and @enddate as params
Thanks in advance