Hi all,
Unfortunatly in my application we are using Char(11) to store date in database , instead of using datatype "DATE " .
Here goes exactly how my table look like.
loandate ------- in dd/mm/yyyy
==========
'09/03/2009'
'10/03/2009'
'11/03/2009'
'12/03/2009'
'13/03/2009'
Now how can i query the records which are in between 10/03/2009 and 12/03/2009
Can i query this as follows ( But no result ....

)
Code:
select CONCAT(RIGHT(loandate,4),SUBSTRING(loandate,4,2),LEFT(loandate,2)) as loandate
FROM mytable
WHERE loandate >= '2009/03/10'
and loandate <= '2009/03/12'
Thanks in advance