Forum Moderators: coopster

Message Too Old, No Replies

Loading data from Oracle into an array

         

suresheva31

3:18 pm on Oct 22, 2004 (gmt 0)

10+ Year Member




Hey guys!

I have 300 data's in my oralce database, which has 22 fields. 300*22 = 6600 datas all together.

What I want do is I want to retreive those values from the database and stored in array, then sorted. For example, If I click on the first field then it will sort by that, then if I click on the second field then it will sort by that...etc. I basically i want to retreive all the data's from my database, whihc I know how to do that, I jsut want to know how to stored in array all the datas.

Any ideas or Hints guys?

Suresh

coopster

8:55 pm on Oct 29, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I would sort the data during the selection process, using an ORDER BY clause.