Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import "loader" format data using SQLDeveloper?

How do I import data in "loader" format using SQL Developer?

SQLDeveloper can export data in "loader" format, so I would like to re-import it.

Note: I'm not able to login to the server on which the Oracle DB is running, and I don't have sysdba privileges.

like image 291
leo Avatar asked Mar 04 '14 10:03

leo


People also ask

Can you run SQL Loader from SQL Developer?

In SQL Developer, click the Export Cart icon and select “loader” in the Format menu. In SQL Developer, open a connection to the Oracle Database 12c database on the Database service and execute the generated script to create the database objects.


1 Answers

Install OracleClient_11gR2_W64.zip package

Oracle home e.g. C:\oracle\product\11.2.0\client_1

  • Oracle Database Utilities
  • SQL*Plus
  • Oracle Call Interface (OCI)
  • Oracle Net (don't know if necessary)

Edit the C:\oracle\product\11.2.0\client_1\network\admin\tnsnames.ora, add a configuration for your remote DB, e.g. named ACME.

sqlldr  scott/tiger@ACME  control=BATCH_REPORTS_DATA_TABLE.ctl log=BATCH_REPORTS_DATA_TABLE.ctl.log

Also read this: How to install Oracle 11gR2 64-bit client on Windows 7

Download Oracle client 11gR2

  • 64-bit: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html
    • win64_11gR2_client.zip Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (x64) 615MB
  • 32-bit: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win32soft-098987.html
    • win32_11gR2_client.zip Oracle Database 11g Release 2 Client (11.2.0.1.0) for Microsoft Windows (32-bit) 684MB
like image 125
leo Avatar answered Oct 16 '22 04:10

leo