I have a table named Project, it has single primary index named Project_Id. Primary index also has IDENTITY specification.
I can freely insert new row into the Project table, but then I cannot edit it, nor delete it. Here is the error it shows after the attempts:
Here is my data from the table:
I want to delete those rows with id=17, 18, 19, 20. But I can't. Please also notice that I have no other table in my DB that references those id's in Project table, so I should be able to delete rows.
Any soughts about this? Do I need to provide more information for you to be able to pinpoint solution? Here is my relations diagram (a bit big, but anyway here it is):
Just found out, that I can't update\delete rows even in Orders table (look right and up at diagram). I'm curious why...
I wonder if the error message is a red herring and this is actually a permissions issue. Can you update or delete rows in any table? Have you checked the permissions for the database user ?