Hai,
Im new to sql server...
I want to convert a field in a table to DateTime.
The column(Column Name-DDateTime , Data type String) has data in this format 01-04-2008 15:12:52
i want to get records in a particular datetime range.Do not no how to proced.
usually i can write a query like this
select DDateTime from table_name where DDateTime between '01/27/2008 01:23:32' and '01/29/2008 01:23:32'
as the column's datatype is string im facing problem..