If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
ALTER TABLE mytable
DROP FOREIGN KEY myforeignkeyname
;
If you don't know the name of the FK, check out the system table or do it the quick and dirty way: try to update the referencing column into a value that does not occur in the parent table.