Hi All,
I have a date_column which will be something like 20140202 and now i have to use this to compare to a getdate .It must be something like this
where date_column = dateadd(dd, 0,datediff(dd, 0,GETDATE()-1)).
So basially i want my date column to be converted into a perfect datetime format.
Can someone please help me with this?
Thanks
I have a date_column which will be something like 20140202 and now i have to use this to compare to a getdate .It must be something like this
where date_column = dateadd(dd, 0,datediff(dd, 0,GETDATE()-1)).
So basially i want my date column to be converted into a perfect datetime format.
Can someone please help me with this?
Thanks