ProgrammingB52
Technical User
I am trying to insert values in a table where there is a foreign key to another table. I can't insert data into either of these tables and get the same errror....
INSERT statement conflicted with COLUMN FOREIGN KEY SAME TABLE constraint 'FK_OrgUnit_OrgUnit'. The conflict occurred in database 'Asset', table 'OrgUnit', column 'OrgUnitId'.
The statement has been terminated.
How do I insert data into these 2 tables with the foreign key constraint?
INSERT statement conflicted with COLUMN FOREIGN KEY SAME TABLE constraint 'FK_OrgUnit_OrgUnit'. The conflict occurred in database 'Asset', table 'OrgUnit', column 'OrgUnitId'.
The statement has been terminated.
How do I insert data into these 2 tables with the foreign key constraint?