By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
7 rows affected
| Id | ServiceId | StartDate | EndDate | CountryId |
|---|---|---|---|---|
| 1 | 1 | 2023-01-01 00:00:00.000 | null | 0 |
| 2 | 1 | 2023-01-01 00:00:00.000 | null | 53 |
| 3 | 1 | 2023-01-01 00:00:00.000 | null | 70 |
| 4 | 2 | 2023-01-01 00:00:00.000 | null | 0 |
| 5 | 2 | 2023-01-01 00:00:00.000 | null | 53 |
Msg 50000 Level 16 State 1 Line 11
Conflict in date insert
| Id | ServiceId | StartDate | EndDate | CountryId |
|---|---|---|---|---|
| 1 | 1 | 2023-01-01 00:00:00.000 | null | 0 |
| 2 | 1 | 2023-01-01 00:00:00.000 | null | 53 |
| 3 | 1 | 2023-01-01 00:00:00.000 | null | 70 |
| 4 | 2 | 2023-01-01 00:00:00.000 | null | 0 |
| 5 | 2 | 2023-01-01 00:00:00.000 | null | 53 |