I need to edit a table, but I can not remove it. I need to remove the foreign key, but all the commands I tried did not work.
I'm currently tempting the
alter table tabela drop foreign key nomefk
And the error always happens saying that there is no foreign key, however, when I pull in the describe, it does exist and prevents me from modifying the table. I would like to know if the table is a 1 to N ratio, but I have analyzed the problem better and now it has turned N to N, so I need to remove this key to create it in the additional table.