Select
*
from
table1
where
Convert
(datetime, mydate, 103)
between
(datetime, @Fromdt, 103)
and
(datetime, @Todt, 103)
Before comparing date you must convert both date in same format.
use this query-
select * from table1 where WHERE datecol between Convert(varchar(20), fromdatecolumn, 101) and CONVERT(datetime, todatecolumn, 101) Try this and let me know.