Please Guys help me out , as I need the solution of this problem very fast.Please help me.
My table contains a varchar field which contains time like : 04:09PM
Now the problem is that I have to convert this into time.Please help me to suggest how to convert this data into time as I have to create various reports.
I have also tried to put time datatype instead of varchar.But when I inserted this value -it gives error like this:
Incorrect time value: '04:09PM' for column 'time1' at row 1
Please suggest me what should I do and How should I perform this task.
Thanking you all.