How to Count time values in varchar2 field.
nazlfcNov 24 2010 — edited Nov 30 2010Hi,
I have a database field which stores time values i.e. time taken values (in this case session times) in the following format:
00:07:06.63
00:05:19.51
00:09:39.52
00:03:53.8
The field is of a VARCHAR2 datatype. What I would like to do is to get a sum of these times as Total times using SQL. I have tried using to_number to convert these varchar2 times but no avail. Please can anyone provide with some examples or possible functions that I maybe able to use. Your help wil be greatly appreciated.
Thanks
Naz