I need to import some data from an old Oracle table to anew one. In the old table, I have a field that contains a VARCHAR2(6) field. This field holds date data in MMYYYY format (I didn't design the original application). Now, I want to import it, but store it as a date. When I tried to do this using the to_date function, it appears to only store the last 2 numbers in the year. When I display it, 1998 will actually be 2098.
Does anyone know an easy way to convert the data from VARCHAR2 to DATE in an import? I'm sure someone does, I'm just starting to go in circles.
Thanks!
Does anyone know an easy way to convert the data from VARCHAR2 to DATE in an import? I'm sure someone does, I'm just starting to go in circles.
Thanks!