• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX:problem about the databass

 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
I have a problem in my assignment . there is a statment says that "you must reimplement the databass from the scrach code withnot change the format of the data file ". what does this statment mean? how can I reimplement the data file ?/ does this relect to the record number?/
any help will thanks on time //
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it means you have to code everything required to make your databse work, but you cannot change the actual database file at all, so you cant go insert primary keys for example, but what you can do is write the database code in a way that it deals with record numbers
 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Ta Ri Ki Sun
what do you mean about"you have to code everything required to make your databse work"
does it means that i use the delet/creat/updat
method to reimplement the databass??
think you //
 
Nick Lee
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi qinlong,
Are u a chinese guy,me too,if questions,let's discuss.
 
Ta Ri Ki Sun
Ranch Hand
Posts: 442
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sun qinlong:
hi Ta Ri Ki Sun
what do you mean about"you have to code everything required to make your databse work"
does it means that i use the delet/creat/updat
method to reimplement the databass??
think you //


Yes exactly that Sun qinlong, in my assignment I have an interface that I have to implement, and it includes the methods you mentioned above, but those on their own are not nearly enough, so you code some helper methods to initialise the database server on start up, which includes assigning record numbers, which you need for methods like read(int recNo)
 
Sun qinlong
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Nick Lee
ye I am chinese in xi'an . what about you ?
keep in touch . and discuss with each other
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic