"Morten Gulbrandsen" <[EMAIL PROTECTED]> wrote: > [skip]
> ALTER TABLE EMPLOYEE # here is the buggy code > ADD FOREIGN KEY (DNO) REFERENCES DEPARTMENT(DNUMBER) > ON DELETE SET DEFAULT > ON UPDATE CASCADE; > > ALTER TABLE DEPARTMENT > ADD FOREIGN KEY (MGRSSN) REFERENCES EMPLOYEE(SSN) > ON DELETE SET DEFAULT > ON UPDATE CASCADE ; > > > Please tell me what could be wrong, ON DELETE SET DEFAULT is not supported. That is why you can't create foreign key constraints. -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.net http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Victoria Reznichenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]