Question : Can you use SQL*Loader to import a dbf file?

I have multiple dbf (dBase IV) files which I'd like to import into a table in Oracle. I tried doing this with SQL*Loader on one of the files using the ctl below. This runs but doesn't load anything into the db, nor does it report any errors. Is it actually possible to load a dbf directly into oracle using SQL*Loader?

load data
  infile 'C:\test.dbf'
  insert into table < tablename>
  (
    col1      CHAR(20),
    col2      CHAR(20),
    col3      DATE "dd/mm/yyyy",
    etc.
  )

Answer : Can you use SQL*Loader to import a dbf file?

I don't  know the way the dbf-files are build , but I would be supprised if it could,
sqlloader works for "flat" files  with fixed width columns or colums separated by special characters.
(you have to name that character in your control file)

If it is possible to the export the dbf-file to a csv-file do so,  preferably with columns separated by ;

Then try again with the csv-file.
By the way : what does the report look like know?.
Random Solutions  
 
programming4us programming4us