>How one can implement foreign key in MySQL? I've looked at the doc
>but didn't get the method.
>
>Please comment,
Sir, it says in the manual that MySQL doesn't support foreign keys.
However, foreign keys are created by database design, not by RDBMS
support. There's nothing to stop you from implementing foreign keys
in your design and joining them to their referenced keys in SELECT
statements. You just have to be more careful because there are no
constraints preventing you from creating orphan records.
Bob Hall
Know thyself? Absurd direction!
Bubbles bear no introspection. -Khushhal Khan Khatak
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php