Hi there,
I have a TON of queries in my database, and I'm not sure if I need them all, they seem to be slowing my DB down alot. The Db only has one table, which keeps tracks of incidents and all their details (location, date etc.). I want to report back to the managers of the locations with summaries of the collected data.
I have a select query based on a main query, for each location.
I have 2 crosstab queries for each location query, one which breaks the data down by type, and another by degree of injury.
Is there a better way to do this?
-Z
P.S. I built the DB a long time ago and I now realize that the table structure isn't sound the way it is, but I can't change that right now.
I have a TON of queries in my database, and I'm not sure if I need them all, they seem to be slowing my DB down alot. The Db only has one table, which keeps tracks of incidents and all their details (location, date etc.). I want to report back to the managers of the locations with summaries of the collected data.
I have a select query based on a main query, for each location.
I have 2 crosstab queries for each location query, one which breaks the data down by type, and another by degree of injury.
Is there a better way to do this?
-Z
P.S. I built the DB a long time ago and I now realize that the table structure isn't sound the way it is, but I can't change that right now.