Oracle
  Home arrow Oracle arrow Importing a CSV Text File into Oracle ...
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
IBM Developerworks
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Importing a CSV Text File into Oracle 10G XE
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 12
    2006-09-26

    Table of Contents:
  • Importing a CSV Text File into Oracle 10G XE
  • Exporting the Employees table from MS Access
  • Importing the EmployeesCsv.csv file into Oracle 10G XE
  • Providing details of the file

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Importing a CSV Text File into Oracle 10G XE
    (Page 1 of 4 )

    If you need to deal with legacy data by moving it to more recent databases, this article might help. It will show you how to move data from an MS Excel file into an Oracle 10G XE table.

    Introduction

    In an earlier article, importing data in a spreadsheet into Oracle 10G XE was described. The present article looks at importing a Comma Separated Value (CSV) file, used commonly in exporting MS Excel files, into an Oracle 10G XE table. CSV files are very popular and frequently used data transformation formats since legacy data are usually of this type. In recent times XML formatted data has replaced them. 

    However, there is a whole lot of legacy data that needs to be loaded on to more recent databases. Hence, every database vendor provides a program to accomplish this conversion. Also programs exist which takes a CSV file and convert it into an XML file. Perhaps this is another route one can take in data conversions for legacy data.

    The CSV file used in this tutorial

    In order to load a CSV file to a table in Oracle 10G XE, a CSV file will be created from an Access database table in this tutorial. This will not only simplify the process of understanding the procedure, but also gives us an opportunity to correctly implement the conversion, since the original data, with a good design, is available at the outset. The table we will be using to create a CSV file is the Employees table in the Northwind.mdb, an MS Access database whose design view is as shown.

    More Oracle Articles
    More By Jayaram Krishnaswamy


       · Lots of legacy data are in CSV, or CSV like files. Recently there was a question...
     

       

    ORACLE ARTICLES

    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...
    - Sub-templates and More with Oracle HTML DB
    - Focusing on Templates in Oracle HTML DB




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway