thanks its working .
if my timestamp will be in the format '20-SEP-12 02.27.45.145000 PM' then the given query is failing with error message invalid time .
↧