Hi
I have a table say Orders with a column Orderdate. I have to base my query on OrderDate. The problem is that Orderdate is a char column and contains junk characters.
Hence my query
select * from Orders where convert(datetime,Orderdate)>getdate() fails miserably.
The rows which contain junk characters for Orderdate need to be excluded.
any pointers would be greatly appreciated.
Rgds
Shyam