Copy Oracle query results to MySQL table

Want to transfer data from Oracle query results to MySQL table?

Try Withdata DBCopier, a Oracle to MySQL converter for Windows, Mac, and Linux, Copy Oracle query to MySQL, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Transfer data from Oracle query To MySQL table

Login to Oracle and MySQL -> Enter source Oracle query -> Set target MySQL table -> Copy Oracle query data to MySQL table

Choose source Oracle database and logon.

convert Oracle query to MySQL table - Choose Oracle and logon

Choose target MySQL database and logon.

save Oracle query results to MySQL table - Choose MySQL and logon

Click “Convert From Query” at task dialog.

Import data from Oracle query results to MySQL table - Task Window

then show the wizard.

1. Set a Oracle query.

Convert data from Oracle query results to MySQL table - open query results

2. Select a destination MySQL table and config fields.

Extract Oracle query results data to MySQL table - select table

3. Preview data.

Migrage data from Oracle query results to MySQL table - preview

4. Transfer data from Oracle query result to MySQL table.

save data from Oracle query results to MySQL table - import


More about Oracle to MySQL converter

See also:

Oracle → MySQL reference

Type mapping

Value kindin Oraclein MySQL
IntNUMBER(10)INT
BigintNUMBER(19)BIGINT
DecimalNUMBER(p,s)DECIMAL(p,s)
FloatBINARY_DOUBLEDOUBLE
TextVARCHAR2(n)VARCHAR(n)
Long textCLOBLONGTEXT
DatetimeTIMESTAMPDATETIME
BinaryBLOBLONGBLOB
BooleanNUMBER(1)TINYINT(1)
JSONCLOBJSON

Dialect differences

Both Oracle and MySQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.

Propertyin Oraclein MySQL
port15213306
identifiers"double quotes"`backtick`
row limitFETCH FIRST n ROWS ONLYLIMIT n
datesDATE, TIMESTAMPDATETIME, TIMESTAMP, DATE, TIME
long textCLOB, NCLOBTINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT
binaryBLOB, BFILEBLOB / TINYBLOB / LONGBLOB

Command line

SideCommand
Oracleexp / expdp
MySQLmysqldump, or mysql -e "SELECT ..." > out.csv
MySQL (load)mysqlimport, or LOAD DATA INFILE
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