![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Not sure if I have this correct but... You have a single Patient table that holds all patients and you have 200 surgeries ? Lets take it that there is a Surgery table that you have not shown and what you are descibing is the realtionship table between the Patient table and the Surgery table inferring that a patient can go to a number of surgeries and get an attribute set or a value applied that relates to that perticular surgery. So the query is saying count(or add up) the attribute where the patient = xxx Why an OLAP ? isn't this a simple SQL query summing/counting the attribute for each patient (and for each surgery if required)? There is no hierarchy defined and even if there were an hierarchical relationship grouping Surgeries this could still be done in SQL. What is the need for OLAP - aggregation, gouping or whatever ? Even if used there should be no problem in counting a bit or summing and int.... *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |