By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
Msg 547 Level 16 State 0 Line 2
The INSERT statement conflicted with the CHECK constraint "CK__t__val__36B12243". The conflict occurred in database "fiddle_7ca8ea4eeb514c7d9b88c284ce456038", table "dbo.t", column 'val'.
Msg 3621 Level 0 State 0 Line 2
The statement has been terminated.
1 rows affected
id | val |
---|---|
1 | 3 |
3 | 5 |
Msg 547 Level 16 State 0 Line 2
The INSERT statement conflicted with the CHECK constraint "CK__t__val__36B12243". The conflict occurred in database "fiddle_7ca8ea4eeb514c7d9b88c284ce456038", table "dbo.t", column 'val'.
Msg 3621 Level 0 State 0 Line 2
The statement has been terminated.
id | val |
---|---|
1 | 3 |
3 | 5 |