Hello all, I am having a problem in referential Integrity in mySQL. I have created a parent table which have deptno from 1-10. When i insert a row in child table that has deptno as foreign key it accept a value 11 which is actually not present in parent table. Can anybody tell the solution for this.
regards, Adnan Yaqoob. --------------------------------------------------------------------- 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