constraint <str> is not defined in database Explanation: The specified constraint does not exist in the current database. User Action: Invoke the correct database. Check the constraint name for correct spelling. Check the constraint definition to make sure you did not specify a term where the constraint name was expected.