944,008 Members | Top Members by Rank

Ad:
Aug 4th, 2007
0

your ideas on database design???

Expand Post »
Hello All,
I am working on a database, and have doubts in two fields (startpoint, and endpoint locations)therefor want your comments and suggestions, my database tables look like the following:

[Projects table:]
project_id
project_name
startpoint_location_id
startpoint_latitude
startpoint_longitue
endpoint_location_id
endpoint_latitude
endpoint_longitude

[Location table:]
location_id
location_name


the startpoint_location_id and endpoint_location_id is linked to the location table,it means that Location table has one-to-many relationship with projects table.

Now my question is whether this is a good database design or should I handle it differently, please update me as soon as possible.

Thank you
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atal is offline Offline
24 posts
since Jul 2007
Aug 18th, 2007
0

Re: your ideas on database design???

Hi,
(First hope you have already found a solution)Usually this is the ultimate structure. But in your queeries you shall use outer oins to the loaction table espically if you suspect that the either start or end points my be kept empty.
Reputation Points: 13
Solved Threads: 29
Junior Poster
kb.net is offline Offline
169 posts
since Aug 2007
Aug 18th, 2007
0

Re: your ideas on database design???

Thank you, kb.net, actually I have already passed the database design phase and it has been finalized, but thank you for your comments.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atal is offline Offline
24 posts
since Jul 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Database Design Forum Timeline: DB model design tool?
Next Thread in Database Design Forum Timeline: Recomendations for a book on database design





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC