안 됩니다. 제약 조건을 바꿀 수는 없고, 삭제한 다음 다시 만들어야 합니다
ALTER TABLE [TARGETTABLE] DROP CONSTRAINT [KEYNAME]
외래 키 제약 조건
Alter Table FirstTable Add Constraint [KEYNAME]
Foreign Key (Field) References SecondTable (Field) On Update Cascade On Delete Cascade
기본 키 제약 조건
Alter Table Target add constraint [Main Key]
Primary key(Field1,Field2,.....)
영어에서 번역·원문 보기No. Changing the constraint isn't possible, the option available is to remove it and create it again
ALTER TABLE [TARGETTABLE] DROP CONSTRAINT [KEYNAME]
A foreign key constraint
Alter Table FirstTable Add Constraint [KEYNAME]
Foreign Key (Field) References SecondTable (Field) On Update Cascade On Delete Cascade
A primary key constraint
Alter Table Target add constraint [Main Key]
Primary key(Field1,Field2,.....)