PaulWilson
Registered User.
- Local time
- Today, 05:48
- Joined
- May 19, 2011
- Messages
- 43
Hey,
I used Allen Browne's recurring events concept to create a massive database that needs a recurring events component.
http://allenbrowne.com/apprecur.html
It works! It was great because it taught me about Cartesian joins. The problem is that Cartesian join queries are by definition read-only. I created a big set of recurring events using the Cartesian query, but I can't seem to do anything to them (like link them to tables where information about each event instance is held).
If I link a read-only query to something else, the result is also read-only!
So how do I get around it? Should I keep a shadow table identical to the read-only query in my system and keep updating that? That leads to update anomalies it seems to me. How is this kind of thing usually managed?
The Cartesian concept is fun, but it can lead to trouble for those with moderate skills (like me)!
I used Allen Browne's recurring events concept to create a massive database that needs a recurring events component.
http://allenbrowne.com/apprecur.html
It works! It was great because it taught me about Cartesian joins. The problem is that Cartesian join queries are by definition read-only. I created a big set of recurring events using the Cartesian query, but I can't seem to do anything to them (like link them to tables where information about each event instance is held).
If I link a read-only query to something else, the result is also read-only!
So how do I get around it? Should I keep a shadow table identical to the read-only query in my system and keep updating that? That leads to update anomalies it seems to me. How is this kind of thing usually managed?
The Cartesian concept is fun, but it can lead to trouble for those with moderate skills (like me)!