Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2007

    Unanswered: how to insert elements into array in a for loop in PL/SQl

    I am loading data from csv file into a table. for that i am able to read a line from csv file and able to get tokens from csv string. My problems is i have read one csv line into a string by utl_file.get_line function. This line when fed to my own tokenizer function it will return tokens depends on the index that i pass to that function..

    i want loop thru and put each and every token into an arry...later i will do some work on them...

    i want how to create a simple array...and insert strings into array based on index..

    Please help me...

    Thnaks in advance...

  2. #2
    Join Date
    Aug 2003
    Where the Surf Meets the Turf @Del Mar, CA
    Provided Answers: 1
    1) Rather than using CSV & UTL_FILE, it might be easier to use EXTERNAL TABLE instead.
    2) you can find many fine coding examples at
    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.

Posting Permissions

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