Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I make up the database, help me!

 
bekars
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!
 
Terry Wang
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?
 
Steve Marks
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!
 
James Du
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
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic