Exforsys
+ Reply to Thread
Results 1 to 4 of 4

to load data from a csv file

This is a discussion on to load data from a csv file within the Oracle JDeveloper forums, part of the Programming Talk category; Hi, is there a way to load data to Oracle table using a csv file. I have tried using some ...

  1. #1
    lakshmi_bhas is offline Junior Member Array
    Join Date
    Sep 2007
    Answers
    2

    to load data from a csv file

    Hi,

    is there a way to load data to Oracle table using a csv file. I have tried using some tools and I was able to do it. But the requirement is to do only using Pl\SQL. Any help is appreciated.
    I need this very urgent.

    thanks in advance
    Lakshmi


  2. #2
    habibi is offline Junior Member Array
    Join Date
    Jan 2007
    Answers
    1
    Hi

    You can achieve this through Oracle data loader which dont need any pl/sql scripts. Or through utl_file concept.


  3. #3
    olawale Ajayi is offline Junior Member Array
    Join Date
    Dec 2007
    Answers
    1
    Please i need to know how i can get started on learning the basics/starters for Oracle. I have no idea how to start and would love to learn because it pays well. Thanks.


  4. #4
    tprabhuit's Avatar
    tprabhuit is offline Junior Member Array
    Join Date
    Dec 2007
    Location
    Coimbatore
    Answers
    15
    Hi,

    I think this will be useful for you..

    LOAD DATA LOCAL INFILE <FILE NAME WITH LOCATION>
    INTO TABLE <TABLENAME>
    FIELDS TERMINATED BY ','
    LINES TERMINATED BY '\n'
    (FIELD1, FIELD2, FIELD3, ... FIELDn);

    Regards,
    Prabhu.T


    •    Sponsored Ads



Latest Article

Network Security Risk Assessment and Measurement

Read More...