By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
3 rows affected
i |
---|
2 |
3 |
4 |
1 rows affected
Msg 2627 Level 14 State 1 Line 1
Violation of PRIMARY KEY constraint 'PK__T__3BD01996D971A625'. Cannot insert duplicate key in object 'dbo.T'. The duplicate key value is (1).
Msg 3621 Level 0 State 0 Line 1
The statement has been terminated.
i |
---|
2 |
3 |
4 |