Thank you Peter... again.. :)
Which would be the source field and which the target field?
On May 1, 2010, at 3:22 AM, Peter Lind wrote:
On 30 April 2010 20:49, Karl DeSaulniers <k...@designdrumm.com> wrote:
No, please confuse me. I need to know this stuff.
@Peter thanks for that introduction to foreign keys. Since my
table is based off of items in products, optionGroups and options,
use foreign keys for this?
If I read you correct, your productoptions table is basically a lookup
table and as such all your fields should be foreign keys. Because,
each field is a reference to another table - and it's vital to data
consistency that they cannot point to a row in a table that doesn't
WWW: http://plphp.dk / http://plind.dk
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php