I created a table then added a foreign key reference to its primary key in another table. I need to drop the new table to recreate it with additional columns (I do not want to add the new columns to it). When I attempt to delete it, it tells me I cannot deleted a referenced table. So I try to drop the foreign key column from the other table and it tells me that the foreign key column cannot be dropped. This leaves me with removing the foreign key itself first, but I don’t know the name of it. I came upon this link:
http://forums.teradata.com/forum/database/how-to-drop-a-constraint-without-knowing-its-name
…but it is no help. I can’t seem to locate the name of this foreign key anywhere. Any help on how to drop this foreign key?
Have you tried the following syntax: