25 pts.
 How to parse a varchar2 column and insert date data into another column?
I'm working on a database that has an important date stored in a notes column that is varchar2. The date is always in the same position in the column. Does anyone know a function or a way I could pick the date out of this column and use it to update a date in another date column? Thanks for your replies. This is on Oracle 10.2.0.3. Thanks.

Software/Hardware used:
ASKED: August 21, 2008  3:52 PM
UPDATED: August 21, 2008  5:04 PM

Answer Wiki:
I am thinking substr would work if it is always in the same location. substr(notes_field, start_position_number, length_of_date) that will get you the string version of the date then just run a to_date function on it. May have to play with the length and grab some additional whitespace ( 4/4/2008 vs 04/04/2008) . Examples of the data would be helpful.
Last Wiki Answer Submitted:  August 21, 2008  5:04 pm  by  Rdano   175 pts.
All Answer Wiki Contributors:  Rdano   175 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _