Cosmos75
Registered User.
- Local time
- Today, 04:10
- Joined
- Apr 22, 2002
- Messages
- 1,280
Use only primary Keys in Query or include fields wanted in report as well?
I have queries that join back data in a relational database and performs calculations. There is a report that summarizes this data and calculations.
The question I have is should I be including all the fields I want to show on the report in the query or only the primary-keys for the tables in my query with my calculations, and then add the primary keys from the query and pull the other data from the tables themselves? Which way is more efficient and less taxing on a computer's resources?
Edit: I tried to edit the typo in the topic but it only corrected what you see here and not the topic title on the main page?
I have queries that join back data in a relational database and performs calculations. There is a report that summarizes this data and calculations.
The question I have is should I be including all the fields I want to show on the report in the query or only the primary-keys for the tables in my query with my calculations, and then add the primary keys from the query and pull the other data from the tables themselves? Which way is more efficient and less taxing on a computer's resources?
Edit: I tried to edit the typo in the topic but it only corrected what you see here and not the topic title on the main page?
Last edited: