How to drop a foreign key based on a table name and column name with T-SQL.
If you want to delete a foreign key based on a given table name and column name in T-SQL, you can use the following code snippet: Full table name = [MySchema1].[MyTable1] Full column name =