Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Oracle > how to insert elements into array in a for loop in PL/SQl

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-09-07, 07:31
venkattarigopula venkattarigopula is offline
Registered User
 
Join Date: Jul 2007
Posts: 14
how to insert elements into array in a for loop in PL/SQl

Hai..
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...
Reply With Quote
  #2 (permalink)  
Old 10-09-07, 11:33
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 3,569
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.com
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On