You must set some specific parameters in your FKey, for example ON DELETE {CASCADE, SET NULL, SET DEFAULT}
Instead, you cannot delete the reference string, because it is prohibited by the sql server due to referential integrity.
Thus, the option should set the table binding value to NULL or any other DEFAULT value.
Or delete it too
Or , if your link string has some meaning without a parent string - then something is wrong with your DB design - either you don't need FKey, or the schema hasnβt normalized.
source share