Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1

    Unanswered:

    >Anybody know how to do this via sqlldr?
    I don't know that it is possible via SQLLDR.

    It can be done via EXTERNAL TABLE & custom PL/SQL.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  2. #2
    Join Date
    Mar 2013
    Posts
    2

    Unhappy How to load a specific row alone using SQLLDR ??

    Hi,
    I have a requirement like load the 2nd row into table1 and remaining rows into table2 from a CSV file.Anybody know how to do this via sqlldr?

    Greatly appreciate your helps.

    Thanks in advance

  3. #3
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >Anybody know how to do this via sqlldr?
    I don't know that it is possible via SQLLDR.

    It can be done via EXTERNAL TABLE & custom PL/SQL.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

  4. #4
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,094
    Provided Answers: 4
    If you know how to distinguish that row from the others (apart from "it is the second row in a file"), you could try to utilize WHEN clause and conditionally load rows into different tables.

  5. #5
    Join Date
    Jun 2003
    Location
    West Palm Beach, FL
    Posts
    2,713

    Cool

    Quote Originally Posted by abhi4unix View Post
    Hi,
    I have a requirement like load the 2nd row into table1 and remaining rows into table2 from a CSV file.Anybody know how to do this via sqlldr?

    Greatly appreciate your helps.

    Thanks in advance
    You could use the "WHEN" clause as suggested by Littlefoot.
    The person who says it can't be done should not interrupt the person doing it. -- Chinese proverb

  6. #6
    Join Date
    Mar 2013
    Posts
    2

    Thumbs up I got the answer

    I have found that the Options(Skip=1,Load=2) will help to load only the 2nd row only via sqlldr.

    Thank you so much guys for your valuable replies.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •