DD 6.0.2
We've got a situation in which some of the tables defined in our DB have sort of a self-referential foreign key - e.g.:
| Col1 | Col2 | ... |
|---|
| A-Val-1 | A-Val-2 | ... |
| A-Val-2 |
| ... |
| A-Val-3 | A-Val-1 | ... |
Some entries in
Col2 refer to records that have the same value in
Col1. Both columns might also act as Primary Keys.
When I go to write the config for this - should I specify that
Col2 is a "foreign-key" but have the table reference be the current table? Or should I not mention it as a foreign-key for DD at all (and assume that the use of it as a foreign-key is handled by whatever else utlizes the DB)?
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com