I am trying to load tables from foxpro to oracle using sqlldr. I am doing this in following steps
1. Create .dat file from .dbf using COPY TO command in foxpro
2. Load data from .dat file to oracle using sqlldr
The problem is, foxpro table has date column in which all the rows not necessarily be having data i.e.some date. Some rows may be without date. So first thing is it does not matches date format in foxpro and oracle.In case of such rows i am getting error ' not a valid month ' in logfile after executing sqlldr at dos prompt. And in case of those rows which do not have date in date fields , i get the error ' a nonnumeric character was found where numeric is expecated ' since it comes across value in the form '/ / ' in data file which i am creating from .dbf file.
Can someone give solution to this.
1. Create .dat file from .dbf using COPY TO command in foxpro
2. Load data from .dat file to oracle using sqlldr
The problem is, foxpro table has date column in which all the rows not necessarily be having data i.e.some date. Some rows may be without date. So first thing is it does not matches date format in foxpro and oracle.In case of such rows i am getting error ' not a valid month ' in logfile after executing sqlldr at dos prompt. And in case of those rows which do not have date in date fields , i get the error ' a nonnumeric character was found where numeric is expecated ' since it comes across value in the form '/ / ' in data file which i am creating from .dbf file.
Can someone give solution to this.