I want to select a varchar field as a date field
For example a field has this value \"30.12.2011 21:15:03\"
and when i select this
select DAT
select DATE from TABLE where cast(DATE as date) = '30.12.2011'
Date field is a timestamp