User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 391,590 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,691 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 3471 | Replies: 2
Reply
Join Date: Sep 2004
Posts: 7
Reputation: Him3 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Him3's Avatar
Him3 Him3 is offline Offline
Newbie Poster

Storing of Array

  #1  
Mar 28th, 2005
Hi all,
I have a array of 96 integers and I want to store each one in Database. I want to access all these 96 integers in a Java program. Now I am confused about how to store it?
1> wheather i have to store it as 96 fields. ( but this is inefficient to use in program)
2> or store the array in file and store the path of that file.

Please reply as early as possible. Thanks in advance...
Himanshu
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Mar 2005
Location: Woodland Hills CA
Posts: 49
Reputation: aj.wh.ca is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 1
aj.wh.ca aj.wh.ca is offline Offline
Light Poster

Re: Storing of Array

  #2  
Mar 29th, 2005
Hi,
Make your requirement a bit more detailed. I am unable to figure out what exactly you want to achieve. You have the post in db section , but it seems all you want to do is store an array which you can refer in your java program. Post details. May be I can help.
cheers,
aj.wh.ca

-------------------------------------------
www.swiftthoughts.com
-------------------------------------------
Reply With Quote  
Join Date: Sep 2004
Posts: 7
Reputation: Him3 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Him3's Avatar
Him3 Him3 is offline Offline
Newbie Poster

Re: Storing of Array

  #3  
Mar 31st, 2005
Hi,

Thanx for reply. Now just go through the detail : I am getting a array of 96 integers by the complex calculation. And I want to store this 96 integers for the future reference. (Because each time I don't want to do complex computation to get those 96 integers.). So how to store it in Database ? I have got a suggestion to use Binary data type. so wht r ur views on this? my yahoo id is himanshu1213@yahoo.com
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Database Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Database Design Forum

All times are GMT -4. The time now is 11:19 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC