10-09-07, 07:31 #1Registered User
- 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...
10-09-07, 11:33 #2Registered User
Provided Answers: 1
- Join Date
- Aug 2003
- Where the Surf Meets the Turf @Del Mar, CA
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 http://asktom.oracle.comYou 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.