How To Import A Folder Of CSV Files To Oracle

Want to batch import data from CSV files to Oracle ?

Using FileToDB, a native GUI tool, you can batch import data from CSV files to Oracle easily and fast, no need to program, just a few mouse clicks!

Support Windows, Linux, macOS.

Support large CSV files (big than 4GB).

Support multiple CSV file encodings: ANSI, UTF-8, UTF-8BOM, UCS-2LE (Unicode Little Endian), UCS-2BE (Unicode Big Endian), CP1250 (Central European), CP1251 (Cyrillic), CP1252 (Western European), CP1253 (Greek), CP1254 (Turkish ), CP1255 (Hebrew), CP1256 (Arabic), CP1257 (Baltic), CP1258 (Vietnamese), CP437 (United States), CP850 (Western European), CP852 (Central European), CP866 (Cyrillic), CP874 (Thai), CP932 (Japanese), CP936 (Chinese Simplified), CP949 (Korean), CP950 (Chinese Traditional), ISO-8859-1 (Western European), ISO-8859-2 (Central European), ISO-8859-15 (Latin 9), KOI-8 (Cyrillic), Macintosh (Western European).

Here you can download and install FileToDB.

Batch import data from CSV files to Oracle

Choose Oracle and logon.

convert CSV file to Oracle table - Choose Oracle and logon

Click “Wizard – N Files To 1 Table” at task dialog.

convert CSV file to Oracle table - task window

Select the “CSV” file type.

Import file data to Oracle table - select file type

then show the wizard.

1. Select a folder that constains CSV files.

Batch import CSV files data To Oracle - select a folder

2. Config first CSV file importing options.

Batch import CSV files data To Oracle - config first file

3. Select a Oracle table and config fields.

Bulk load CSV files data To Oracle - select table

4. Preview data.

Batch transfer CSV files data To Oracle - preview

5. Import CSV files to the Oracle table.

Batch copy CSV files data To Oracle - import data

View imported data

Batch copy CSV files data To Oracle - view data

You can schedule and automate this converting task by:

1) Save session and create .bat file.

2) Set scheduled task.


More about FileToDB – the tool to batch import data from CSV files to Oracle

30-day free trial Download FileToDB

CSV → Oracle reference

Type mapping

Value kindin CSVin Oracle
Int1234NUMBER(10)
Bigint9007199254740993NUMBER(19)
Decimal1234.56NUMBER(p,s)
Float1.234e+10BINARY_DOUBLE
Textquoted only when it contains a comma or a quoteVARCHAR2(n)
Long textmust be quoted; line breaks inside force multi-line recordsCLOB
Date2026-09-18DATE
Datetime2026-09-18 14:30:00TIMESTAMP
Binarynot representable - base64 or hex stringBLOB
BooleanTRUE / FALSE, or 1 / 0 depending on the writerNUMBER(1)
JSONthe whole JSON value quoted, with internal quotes doubledCLOB

Dialect differences

CSV is a file format and Oracle is a database server, so the target has to be told the types the file never carried – the rows below are where the two sides diverge.

Propertyin CSVin Oracle
port—1521
identifiersDouble quotes; a literal quote is doubled ("" )"double quotes"
row limit—FETCH FIRST n ROWS ONLY
datesConventional text: 2026-09-18 or 2026-09-18 14:30:00DATE, TIMESTAMP
long text—CLOB, NCLOB
binaryNot supportedBLOB, BFILE
separatorComma ","—
encodingNo declaration - UTF-8 works only with a BOM—
typingNone - every field is text—
shapeFlat table, optional header rowTables of rows and columns
ceilingNo formal limit; row count bounded by memory—

Command line

SideCommand
Oracleexp / expdp
Oracle (load)sqlldr (SQL*Loader)

Convert your data online, free

Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.


Posted

in

by