Drop foreign key constraint without giving name of the constraint
Hi Guys,
We can drop primary key constraint in a table with this SQL command>
ALter table fina_year drop primary key cascade
/
Is there any way to drop a foreign key constraint without specifing the name of the constraint. As the name of the constraint might be different if the same user exist in 2 different databases. How to write a generic code for deleting a foreign key without specifying name.
Regards,
Imran Baig