![sql server - Why does inserting a row with a foreign key referencing a row by pk modified in another snapshot isolation transaction cause the transaction to hang? - Stack Overflow sql server - Why does inserting a row with a foreign key referencing a row by pk modified in another snapshot isolation transaction cause the transaction to hang? - Stack Overflow](https://i.stack.imgur.com/BCDXm.gif)
sql server - Why does inserting a row with a foreign key referencing a row by pk modified in another snapshot isolation transaction cause the transaction to hang? - Stack Overflow
![SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/b/5_AllQuery.gif)
SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave
![The INSERT statement conflicted with the FOREIGN KEY constraint "FK_StudyClasses_AspNetUsers_AppUserId". - Microsoft Q&A The INSERT statement conflicted with the FOREIGN KEY constraint "FK_StudyClasses_AspNetUsers_AppUserId". - Microsoft Q&A](https://learn-attachment.microsoft.com/api/attachments/259755-image.png?platform=QnA)
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_StudyClasses_AspNetUsers_AppUserId". - Microsoft Q&A
![SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave SQL SERVER - 2008 - Creating Primary Key, Foreign Key and Default Constraint - SQL Authority with Pinal Dave](https://blog.sqlauthority.com/i/b/14_DFAllQuery.gif)