Presentation on theme: "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."— Presentation transcript:
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.
1.Right click on your table, then select export menu. 2.Convert your table into MS Excel latest version.
1. Open your MS Excel File, then go to File menu, then select Save As. 2. Save your file in CSV (Comma Delimited) Format.
1. you will see your file as this format. 2. Now Copy your file on Oracle Path. Ex. c:\oracle\test_table.csv
1.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
1. Open Note Pad or any text format file, and type following lines. 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 fields terminated by “,” optionally enclosed by ‘ “ ‘ trailing nullcols. 2. Save this file.
1.Open Command Prompt. 1.Type here : sqlldr username/password 3. Drag your SQL Loader control file and Drop here. 4. Then you will see how many records are inserted. 2. Type here sqlldr username/password