110 likes | 343 Views
Designed by : Kartik Mali. Email : kartik_dodia85@yahoo.co.in. Oracle SQL*Loader. Dear Friends, I m Kartik Mali from gujarat. I prepared this presentation for who want to use oracle loader utility. I m giving here step by step knowledge of oracle
E N D
Designed by : Kartik Mali Email : kartik_dodia85@yahoo.co.in Oracle SQL*Loader Dear Friends, I m Kartik Mali from gujarat. I prepared this presentation for who want to use oracle loader utility. I m giving here step by step knowledge of oracle 10g loader. I m giving knowledge about how to export MS Access database’s table into oracle 10g with oracle loader.
Designed by : Kartik Mali Email : kartik_dodia85@yahoo.co.in Oracle SQL*Loader Step : 1 • Right click on your table, then select export menu. • Convert your table into MS Excel latest version.
Designed by : Kartik Mali Email : kartik_dodia85@yahoo.co.in Oracle SQL*Loader Step : 2 1. Open your MS Excel File, then go to File menu, then select Save As. 2. Save your file in CSV (Comma Delimited) Format.
Designed by : Kartik Mali Email : kartik_dodia85@yahoo.co.in Oracle SQL*Loader Step : 3 1. you will see your file as this format. 2. Now Copy your file on Oracle Path. Ex. c:\oracle\test_table.csv
Designed by : Kartik Mali Email : kartik_dodia85@yahoo.co.in Oracle SQL*Loader Step : 4 • Now we have to create a Control file (There is • difference between DATABASE CONTROLFILE and SQL • LOADER CONTROL FILE) • 2. Now create a table in ORACLE with same coloum name • and data type (there is defference between MS Access • data type and ORACLE data type Ex. MS Access data • types = text, ORACLE data type = char or varchar2
LOAD DATA INFILE ‘full path’ (where CSV file located) BADFILE ‘full path’ (Ex. ‘C:\oracle\test.bad’) DESCARDFILE ‘full path’ (Ex. ‘C:\oracle\test.dsc’) insert into table <Table Name> fields terminated by “,” optionally enclosed by ‘ “ ‘ trailing nullcols. Designed by : Kartik Mali Email : kartik_dodia85@yahoo.co.in Oracle SQL*Loader Step : 5 1. Open Note Pad or any text format file, and type following lines. 2. Save this file.
Designed by : Kartik Mali Email : kartik_dodia85@yahoo.co.in Oracle SQL*Loader Step : 6 1.Open Command Prompt. • Type here : • sqlldr username/password 2. Type here sqlldr username/password C:\> sqlldr scott/tiger control = 3. Drag your SQL Loader control file and Drop here. 4. Then you will see how many records are inserted.
Oracle SQL*Loader Please send your comment on : kartik_dodia85@yahoo.co.in Thanks