Tejs Bomme

Greenhorn
+ Follow
since Jun 03, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tejs Bomme

Hello,
I am currently completing the FBNS assignment and reading the instructions from Sun, I have found a couple of issues which I can�t seem to figure out myself.
1: Describing the db.db file, the instructions say

You may not modify this file, but you may move it if you wish.


Does this mean that I am not allowed to change the "Available seats" attribute for a record when I book a seat, or does it (only) mean that I am not allowed to change the structure of the file?
1.1: My initial implementation can book flights on one of the 24 provided flights by changing the "Available seats" attribute for a record in the db.db file. BUT if I am not allowed to change the db.db, I will have to make a new db-file and use the db.db as a sort of flight schedule. My new db will then have a schema that looks something like [Flight num][Available seats]. Introducing a new db-file is something I would like to avoid if possible.
1.1.1: If I have to introduce a new db-file, I might as well add a Date attribute so that I using db.db a schedule, can book a flight on a specific date not "just" "2 seats on SA001 on Monday" but "2 seats on SA001 on 06.01.2003". This is probably more realistic, but is it necessary?
I hope you can help me with your thoughts on these considerations.

BR
Tejs