By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
1 rows affected
EmployeeNo | Title | FirstNm | LastNm | DateOfBirth | Salary |
---|---|---|---|---|---|
B1244524 | CEO | Brian | Baird | 1901-01-01 | 1000000.00 |
V8822349 | Underling | Verace | LastName | 1970-01-01 | 100000.00 |
1 rows affected
1 rows affected
Msg 547 Level 16 State 0 Line 1
The INSERT statement conflicted with the CHECK constraint "CK_Manager_Salary_IsValid". The conflict occurred in database "fiddle_a1f9cf5f4086425e9dd188a5fa67d822", table "Test.EmployeeManager".
Msg 3621 Level 0 State 0 Line 1
The statement has been terminated.
1 rows affected
1 rows affected
Msg 547 Level 16 State 0 Line 1
The UPDATE statement conflicted with the CHECK constraint "CK_Employee_Salary_IsValid". The conflict occurred in database "fiddle_a1f9cf5f4086425e9dd188a5fa67d822", table "Test.Employee".
Msg 3621 Level 0 State 0 Line 1
The statement has been terminated.
1 rows affected
Msg 547 Level 16 State 0 Line 1
The UPDATE statement conflicted with the CHECK constraint "CK_Employee_Salary_IsValid". The conflict occurred in database "fiddle_a1f9cf5f4086425e9dd188a5fa67d822", table "Test.Employee".
Msg 3621 Level 0 State 0 Line 1
The statement has been terminated.
EmployeeNo | Title | FirstNm | LastNm | DateOfBirth | Salary |
---|---|---|---|---|---|
B1244524 | CEO | Brian | Baird | 1901-01-01 | 1100000.00 |
V8822349 | Underling | Verace | LastName | 1970-01-01 | 125000.00 |