hey folks,
i'm have some questions about relationships in tables and setting up joins in queries:
A. when do you need compound primary keys. if i'm using autonumber fields for my primary keys for all of my tables and then have a table that brings in information from more than one table i was told to use a compound primary key. could someone explain whether this is correct and if so what's the reasoning behind this.
B. do joins created using SQL only reside in memory and cannot be used to enforce referential integrity? if so how come when i don't explicitly create joins in the relationship window they appear connected in the QBE pane?
C. finally, what's the difference when setting up relationships in creating a foreign key in a table and using the lookup wizard to create a field in the table which includes all of the fields from the foreign key table.
many thanks for any responses. have a good day.
i'm have some questions about relationships in tables and setting up joins in queries:
A. when do you need compound primary keys. if i'm using autonumber fields for my primary keys for all of my tables and then have a table that brings in information from more than one table i was told to use a compound primary key. could someone explain whether this is correct and if so what's the reasoning behind this.
B. do joins created using SQL only reside in memory and cannot be used to enforce referential integrity? if so how come when i don't explicitly create joins in the relationship window they appear connected in the QBE pane?
C. finally, what's the difference when setting up relationships in creating a foreign key in a table and using the lookup wizard to create a field in the table which includes all of the fields from the foreign key table.
many thanks for any responses. have a good day.