Adam
2007-09-19 20:06:01 UTC
Hello,
Is the recId unique for all records within a table?
I want to link some data to sales lines and the same data to miscellaneous
charges. If I link the data using the primary keys, I'd need two different
tables since they have different primary keys. But if the recId is always
unique for all records in each table, then I can just use one table and
(recId, tableId) for my foreign key. Any suggestions?
Thanks,
Adam
Is the recId unique for all records within a table?
I want to link some data to sales lines and the same data to miscellaneous
charges. If I link the data using the primary keys, I'd need two different
tables since they have different primary keys. But if the recId is always
unique for all records in each table, then I can just use one table and
(recId, tableId) for my foreign key. Any suggestions?
Thanks,
Adam