Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

How do I make up the database, help me!

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My assignment include a file named db.db.
How do I make up the database?
And which database will I use, SQL Server or Oracle???
Please help me, thanks a lot, I am a new rancher!
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no offense but you really need to sit down and read more posts here.
db.db file is the so-called database file.
 
bekars
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, An Wang.
Is it saying that I should make up the database by myself in SQL Server, and the database tables acorrding to the db.db file?
I am right?
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The db.db is the database file as said above.
The Data class reads from the file using the RandomAccessFile class. All you have to do is use this class to interrogate the database.
All of the facilities are already in place. :roll:
 
bekars
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Good friends, thanks a lot!
 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, all
I find there's only one 'table' in the file, how does it build up a business ? should I create more db files here to make it retional? is that too simple if what i only to do is just query the database and how a real business operate this way? In another word, do i need to provide the ADD functionality?
Thanks in advance
James
 
ranger
Posts: 17346
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No James, you don't need to add any more tables, the assignment is strictly that one table. No need to add above the requirements and added difficulty.
Mark
 
James Du
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Mark, I got it.
James
 
Listen. That's my theme music. That's how I know I'm a super hero. That, and this tiny ad told me:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic