Results 1 to 5 of 5

Thread: SQL Loder Issue

  1. #1
    Join Date
    Jul 2011
    Posts
    2

    Arrow Unanswered: SQL Loder Issue

    Hi , Facinng some problem with the delimiter with sql loaders.
    I've a row like below in CSV.

    "Value1","val"ue2","value3","value4"

    I'm using
    FIELDS TERMINATED BY ',' optionally enclosed by '"'

    But the above syntax is not working. Can some on help on this pls.

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    >But the above syntax is not working.

    my car is not working.
    please tell me how to make my car go.

    I don't know what you have.
    I don't know what you do.
    I don't know what you see.
    It is really, Really, REALLY difficult to fix a problem that can not be seen.
    use COPY & PASTE so we can see what you do & how Oracle responds.
    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.

  3. #3
    Join Date
    Jul 2011
    Posts
    2

    It's the syntax of the SQL LOader

    If you know SQL Loader systax you could have understood what I'm asking for MR.Car

  4. #4
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,509
    for it to work, the data must be like the following

    "Value1","val""ue2","value3","value4" (double quotes in a string),
    however if I was building the export I would use a pipe to separate the fields

    Value1|val"ue2|value3|value4

    FIELDS TERMINATED BY '|' optionally enclosed by '"'

    That character is almost never used in data.
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

  5. #5
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    Quote Originally Posted by srinannapa View Post
    But the above syntax is not working.
    "Not working" is not a valid SQL*Loader error message....

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
  •