oracle sql and dba tutorial logo

 

Oracle DBA

Learn Oracle 11g / 12c Database Admin step by step



Oracle SQL

Tutorial for Oracle SQL


Oracle DBA Interview Questions

Most asked Oracle DBA Interview Questions.

60 Technical Questions
42 Backup & Recovery Questions

Unix For Oracle DBA 20 Questions



Download Oracle 11g / 12 c Software

Links to Download Oracle 12c / 11g for Linux, Windows etc.


MySQL Tutorial

Learn MySQL step by step


 

 

 

 

 

 

 

 

 

Migrate MySQL to Oracle - Tutorial Step 5

Step 5

Now the final step, Run SQL Loader utility with the following arguments

$sqlldr user=scott/tiger control=/opt/oracle/orders.ctl log=orders.log

run sql loader

From the output we can see that SQL Loader has successfully loaded all the rows. If any errors are encountered we can find out the exact error by looking up the log file. In our case the log file is "orders.log"

You can view it using any text editor, let us open it in vi editor by typing

$vi orders.log

and you will see the following output

sql loader log file output

We can now go to SQL Plus and verify that all the rows are imported by giving select statement

SQL> SELECT * FROM orders;

sqlplus plus output 

So this is how we can accomplish transferring of data from MySQL or any database whose data can be converted to FLAT files to Oracle using SQL Loader.

There are also many third party tools which make conversion of MySQL to Oracle very easy and convenient. These commercial tools doesn't require you to write any code and they support many other databases also. One such tool is Data Loader from Interface Computers which can be downloaded from here Download Data Loader

 

 


HomeContact Us

Data Loader

Data Loader is a simple yet powerful tool to
export and import Data between many common database formats


Forms Data Loader

Tool to load data into Oracle E-Business Suite R12 / Oracle Apps using Macros and Forms Record and Playback

Interface Computers Academy © 2007-2017 All Rights Reserved