Drop Foreign Key without knowing the name of the constraint?

后端 未结 7 1169
遇见更好的自我
遇见更好的自我 2020-12-15 03:59

I have created one table using below command:

create table Table1(
    Id int Not Null 
        Foreign key 
        references Table2(Id)  
        on delet         


        
7条回答
  •  不知归路
    2020-12-15 04:25

    If you just look at the table in enterprise manager / management studio you will be able to see the list of keys and delete it from there.

提交回复
热议问题