![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want to record the flight distance between cities in ER model. But the flight distance from city A to city B is different from distance B to A. |
|
How can i do this in ER diagram ?I know Each city is unique . |
#3
| |||
| |||
|
| Jack <hung93 (AT) msn (DOT) com> wrote: I want to record the flight distance between cities in ER model. But the flight distance from city A to city B is different from distance B to A. How can that be? Are you working on some sort of ATC system whereby the routes between the cities varies depending on various parameters involving "skyways"? In any case, why is it necessary to postulate that there is a difference (as might be the case between two towns connected by one way streets?)? |
|
Do any (in the case of flight paths) probably minor differences make much of a difference (sorry about the pun) for the sake of any real world business case - i.e is the percentage difference between cities really important for what you are doing? More explanation is necessary. |
#4
| |||
| |||
|
| Jack <hung93 (AT) msn (DOT) com> wrote: I want to record the flight distance between cities in ER model. But the flight distance from city A to city B is different from distance B to A. How can that be? Are you working on some sort of ATC system whereby the routes between the cities varies depending on various parameters involving "skyways"? |
|
In any case, why is it necessary to postulate that there is a difference (as might be the case between two towns connected by one way streets?)? Do any (in the case of flight paths) probably minor differences make much of a difference (sorry about the pun) for the sake of any real world business case - i.e is the percentage difference between cities really important for what you are doing? More explanation is necessary. as an example Perth -> Sydney = ~4 hours but Sydney -> Perth = ~5 hours. |
|
How can i do this in ER diagram ?I know Each city is unique . Could you expand on your requirements please? Paul... -- plinehan __at__ yahoo __dot__ __com__ XP Pro, SP 2, Oracle, 9.2.0.1.0 (Enterprise Ed.) Interbase 6.0.1.0; When asking database related questions, please give other posters some clues, like operating system, version of db being used and DDL. The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks. Furthermore, as a courtesy to those who spend time analysing and attempting to help, please do not top post. |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
In any case, why is it necessary to postulate that there is a difference (as might be the case between two towns connected by one way streets?)? There could be a difference in travel *time* because of prevailing winds. |
|
Gene Wirchenko |
#7
| |||
| |||
|
|
There could be a difference in travel *time* because of prevailing winds. |
|
Good thinking - my father would be ashamed of me - he was a meteorologist. However, aren't prevailing winds different at different altitudes - jetstreams, and can't pilots go up or down to take advantage of this? |
|
Gene Wirchenko |
#8
| |||
| |||
|
|
I want to record the flight distance between cities in ER model. But the flight distance from city A to city B is different from distance B to A. How can i do this in ER diagram ?I know Each city is unique . Thank you very much. Sorry for the confusion. I mean flight duration . Number of hours from A |
#9
| |||
| |||
|
| Paul <paul (AT) see (DOT) my.sig.com> wrote: There could be a difference in travel *time* because of prevailing winds. Good thinking - my father would be ashamed of me - he was a meteorologist. However, aren't prevailing winds different at different altitudes - jetstreams, and can't pilots go up or down to take advantage of this? Hmmm... thinking about this. Should the journey_duration be affected by the earth's rotation - i.e. if you fly east to west (against the earth's rotation) it will be shorter than if you fly west to east? |
|
Paul... Gene Wirchenko -- plinehan __at__ yahoo __dot__ __com__ XP Pro, SP 2, Oracle, 9.2.0.1.0 (Enterprise Ed.) Interbase 6.0.1.0; When asking database related questions, please give other posters some clues, like operating system, version of db being used and DDL. The exact text and/or number of error messages is useful (!= "it didn't work!"). Thanks. Furthermore, as a courtesy to those who spend time analysing and attempting to help, please do not top post. |
#10
| |||
| |||
|
|
On Fri, 26 Aug 2005 00:35:45 -0800, Jack wrote: I want to record the flight distance between cities in ER model. But the flight distance from city A to city B is different from distance B to A. How can i do this in ER diagram ?I know Each city is unique . Thank you very much. Sorry for the confusion. I mean flight duration . Number of hours from A to B is different from B to A . I try to use recursive relation ship but i dont think it's right. |
![]() |
| Thread Tools | |
| Display Modes | |
| |