duplicate Foreign KEy Constraint

  • I created one table "Employee" set one foreign key named FK_DepartmentID in "Department" Table.

    then i removed it by mistake..

    after some days i realise that there is no foreign key relation in both tables so I again want to add with same name but now it is giving an error that it already having FK_DepartmentID where as the key is not visible in table relations.

    Is the key created is still there is database? if yes then where it goes?

    if i set option "Check Existing Data on Creation or ReEnabling" =No

    then it don't give any error.

    what this option do?

  • check the sys.foreign_keys table.

    "Keep Trying"

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply